Genotype-to-Phenotype map | R Documentation |
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
.
GPmap(obj)
obj |
An object of class |
Returns a matrix with two columns: the first one is the estimate of genotypic effects, the second one the standard error of this estimate.
Arnaud Le Rouzic
Le Rouzic A, Alvarez-Castro JM. (2008). Estimation of genetic effects and genotype-phenotype maps. Evolutionary Bioinformatics, 4.
linearRegression
, multilinearRegression
,
genNames
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.