gen
Numeric matrix containing the genotypic data. A matrix with $n$
rows of observations and ($m$) columns of molecular markers. SNPs must be coded as 0, 1, 2
.
ref
Numeric vector of length $n$ with elements coded as 0, 1, 2
, it represents the genotypic information of a new reference genotype. Default assumes that more frequent allele represents the reference genome.