Description Usage Arguments Author(s)
A matrix for each locus is constructed with n rows and c columns, where n is the number of genotype individuals, and c is the total number of observed alleles at a locus. Individual are surveyed for alleles and assigned 0 for an absence, 0.5 for a single presence (i.e. heterozygote), and 1 for double presence (i.e. homozygote).
1 | genos2mat(mat, ip, na)
|
mat |
A template matrix |
ip |
A character vector of alleles (e.g. |
na |
An NA replacement template |
Kevin Keenan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.