genot2al | R Documentation |
Separates the input vector of diploid genotypes in two vectors each containing one allele, and returns a vector of length 2*length(y) with the second part being the second allele
genot2al(y)
y |
the diploid genotypes at one locus |
returns a vector of length 2*length(y), with the second half of the vector containing the second alleles
Jerome Goudet, DEE, UNIL, CH-1015 Lausanne Switzerland
Goudet J. (2004). A library for R to compute and test variance components and F-statistics. In Prep
varcomp
.
data(gtrunchier) genot2al(gtrunchier[,4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.