Genotype names {noia} | R Documentation |
genotype.names
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
.
genNames(nloc = 2) genNamesAppend(name)
nloc |
Number of loci |
name |
The name of the genotype to which an extra locus has to be added. |
genNamesAppend
is an internal function and is not supposed to
be called by anything else than genNames
.
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.
Arnaud Le Rouzic <a.p.s.lerouzic@bio.uio.no>
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.
genNames(3)