tabToListRef {casesolver} | R Documentation |
Function to convert a matrix to list format.
tabToListRef(tab, ln = NULL, forceDi = TRUE)
tab |
A (nR x nL) matrix with rows giving locus specific genotypes (for each column) for references |
ln |
Loci names of return list |
forceDI |
Whether genotypes are restricted to contain 2 alleles or not. |
Used to convert reference data stored in matrix to list format required by functions.