For all loci as pairs of columns in a matrix, recode
alleles
Usage
geno.recode(geno, miss.val=0)
Arguments
geno
Matrix of alleles, such that each locus has a pair of
adjacent columns of alleles. If there are K loci, then
ncol(geno) = 2*K. Rows represent alleles for each subject.
miss.val
Vector of codes for missing values of alleles.
Value
List with components:
grecMatrix of recoded alleles - see allele.recode
alistList of allele labels. For K loci, there are K
components in the list, and the kth component is a vector
of sorted unique allele labels for the kth locus.