geno.format | R Documentation |
Convert a 4-column genotype matrix or data.frame into a simplified numerical format.
geno.format(X, Y.only = TRUE)
X |
Genotype matrix or data.frame. |
Y.only |
Logical. Whether or not to output only |
A list with elements
Y
: A 4-column numeric matrix. Each row is sorted with zeros indicating missing alleles.
A
: Vector of allele names.
G
: Unique allele combinations, i.e. Y
without duplicated rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.