Genotype-to-Phenotype map {noia} | 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 "noia.linear" or
"noia.multilinear" . |
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 <a.p.s.lerouzic@bio.uio.no>
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)