tabToListRef {casesolver} | R Documentation |
Function to convert a matrix to list format.
tabToListRef(tab, ln = NULL, setEmpty = FALSE)
tab |
A (nR x nL) matrix with rows giving locus specific genotypes (for each column) for references |
ln |
Loci names of return list |
setEmpty |
Whether genotypes with one allele is set as empty or not (then set as homozygous) |
Used to convert reference data stored in matrix to list format required by functions.
List format of references refL[[refname]][[locname]]$adata