Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

genot2al

Separates diploid genotypes in its constituant alleles


Description

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

Usage

genot2al(y)

Arguments

y

the diploid genotypes at one locus

Value

returns a vector of length 2*length(y), with the second half of the vector containing the second alleles

Author(s)

Jerome Goudet, DEE, UNIL, CH-1015 Lausanne Switzerland

References

Goudet J. (2004). A library for R to compute and test variance components and F-statistics. In Prep

See Also

Examples

data(gtrunchier)
genot2al(gtrunchier[,4])

hierfstat

Estimation and Tests of Hierarchical F-Statistics

v0.5-10
GPL (>= 2)
Authors
Jerome Goudet [aut, cre], Thibaut Jombart [aut], Zhian N. Kamvar [ctb], Eric Archer [ctb], Olivier Hardy [ctb]
Initial release
2021-11-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.