Genotype-to-Phenotype map {noia} | R Documentation |
Genotype-to-Phenotype Mapping
Description
The Genotype-to-Phenotype map is a vector providing the estimate of
the genotypic value for any multi-locus genotype. The estimates may
be computed from linearRegression
or
multilinearRegression
.
Usage
GPmap(obj)
Arguments
obj |
An object of class |
Value
Returns a matrix with two columns: the first one is the estimate of genotypic effects, the second one the standard error of this estimate.
Author(s)
Arnaud Le Rouzic
References
Le Rouzic A, Alvarez-Castro JM. (2008). Estimation of genetic effects and genotype-phenotype maps. Evolutionary Bioinformatics, 4.
See Also
linearRegression
, multilinearRegression
,
genNames
.
Examples
set.seed(123456789)
map <- c(0.25, -0.75, -0.75, -0.75, 2.25, 2.25, -0.75, 2.25, 2.25)
pop <- simulatePop(map, N=500, sigmaE=0.2, type="F2")
# Regression
linear <- linearRegression(phen=pop$phen, gen=cbind(pop$Loc1, pop$Loc2))
# GP map
GPmap(linear)
[Package noia version 0.97.3 Index]