View source: R/haploid_functions.R
is_haploid | R Documentation |
Haploid genotype data
is_haploid(geno)
haploid_to_geno(geno)
geno |
Population genotype data. |
Haploid genotype data is stored as an array of dimensions 2
x
n.loci
x n.ind
, the elements of which must be z 0, 1.
Haploids can be checked by using the is_haploid
function, and
can be converted to a standard genotype matrix by using the
haploid_to_geno
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.