powered by
Create a matrix of SNPs coded as 0, 1, 2, where 0 and 2 are the two homozygotes and 1 is the heterozygote.
numericSNPmat(g)
a '>gtypes object.
a data.frame with all biallelic loci recoded.