Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCC.distribute #6

Open
Jean-Baptiste-Camps opened this issue Jun 19, 2017 · 1 comment
Open

PCC.distribute #6

Jean-Baptiste-Camps opened this issue Jun 19, 2017 · 1 comment

Comments

@Jean-Baptiste-Camps
Copy link
Owner

I am not sure the use of this function is implemented. It is supposed to serve for the option alternateReadings=TRUE but I do not see it used in the code.

@Jean-Baptiste-Camps
Copy link
Owner Author

It is not used, and, after recoding -and removing- a very similar function (expandVL), I realise that it can't really be used for this purpose. e.g., let's take two very simple variant locations:

"1,2" NA
"1,2" NA

Should it create a conflict or not? With the current method, yes, because there is a 'closed' configuration:

{1,2}, {1,1}, {2,1}, {2,2}

But, with a function like distribute or expandVL, there will be no conflict, and the new database will look like::

1 NA
2 NA
1 NA
2 NA

The option to replace that could be to transform the matrix into a list, cf. #37 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant