genotypesNames: Names of Genotypes

Genotype namesR Documentation

Names of Genotypes

Description

genNames provides the names of all possible genotypes in the order required by the NOIA model (Alvarez-Castro and Carlborg 2007). The codes for the genotypes are stored in the vector genotypesNames.

Usage

genNames(nloc = 2)

Arguments

nloc

Number of loci

Details

The names of the genotypes are stored in the vector genotypesNames. By default, they are "1", "2", and "3", the heterozygotes being "2". The genotypes at different loci are then put together, such as "123" for 3 loci.

Author(s)

Arnaud Le Rouzic

References

Alvarez-Castro JM, Carlborg O. (2007). A unified model for functional and statistical epistasis and its application in quantitative trait loci analysis. Genetics 176(2):1151-1167.

Le Rouzic A, Alvarez-Castro JM. (2008). Estimation of genetic effects and genotype-phenotype maps. Evolutionary Bioinformatics, 4.

Examples

    genNames(3)

noia documentation built on March 31, 2023, 6:45 p.m.