mpIM(baseModel, object, pheno, idname = "id", threshold = 0.001, chr, step = 0, responsename = "predmn", ncov = 1000, window = 10, mrkpos = FALSE, ...)
mpcross
mpprob
for further
description of default valuesfindqtl2
If the baseModel input does include a term matching the
idname, then it will be assumed that a two-stage QTL
mapping approach is desired. In this case, the baseModel
will be fit using asreml and predicted means will be
output to be used as a response in linear model interval
mapping. If ncov>0
additional marker cofactors
will be fit; otherwise simple interval mapping will be
run. All phenotypic covariates and design factors
specified in the baseModel will be fit in the first
stage.
Note that no weights are used in the second stage of analysis which may result in a loss of efficiency compared to a one-stage approach.
If no baseModel is input, it will be assumed that
predicted means have been included in object
as a
phenotypic variable named predmn. In this case
pheno
is not required and asreml does not need to
be used. (composite) Interval mapping will proceed as in
the two-stage case depending on the value of ncov
.
plot.mpqtl
,
summary.mpqtl
sim.map <- sim.map(len=rep(100, 2), n.mar=11, include.x=FALSE, eq.spacing=TRUE)
sim.ped <- sim.mpped(4, 1, 500, 6, 1)
sim.dat <- sim.mpcross(map=sim.map, pedigree=sim.ped, qtl=matrix(data=c(1, 10, .4, 0, 0, 0, 1, 70, 0, .35, 0, 0), nrow=2, ncol=6, byrow=TRUE), seed=1)
mpp.dat <- mpprob(sim.dat, program="qtl")
## Two-stage simple interval mapping
mpq.dat <- mpIM(object=mpp.dat, ncov=0, responsename="pheno")
Run the code above in your browser using DataLab