Open Jean-Baptiste-Camps opened 7 years ago
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 .
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.