refineqtl(cross, pheno.col=1, qtl, chr, pos, qtl.name, covar=NULL, formula, method=c("imp","hk"), model=c("normal", "binary"), verbose=TRUE, maxit=10, incl.markers=TRUE, keeplodprofile=TRUE, tol=1e-4, maxit.fitqtl=1000, forceXcovar=FALSE)
cross
. See
read.cross
for details.makeqtl
,
containing the positions of the QTL. Provide either qtl
or
the pair chr
and pos
.qtl
is provided, this should not be.qtl
is provided, this should not be.qtl
is provided, this should not be.formula
indicating the model to be fitted. (It can also be the character
string representation of a formula.) QTLs are indicated as Q1
,
Q2
, etc. Covariates are indicated by their names in covar
.verbose
is an integer > 1, further messages from
scanqtl
are also displayed.qtl
, with QTL placed in their new positions.If keeplodprofile=TRUE
, LOD profiles from the last pass through
the refinement algorithm are retained as an attribute,
"lodprofile"
, to the object. These may be plotted with
plotLodProfile
.
One may provide either a qtl
object (as produced by
makeqtl
), or vectors chr
and pos
(and, optionally, qtl.name
) indicating the positions of the
QTL.
If a qtl
object is provided, QTL that do not appear in
the model formula
are ignored, but they remain part of the QTL
object that is output.
Haley, C. S. and Knott, S. A. (1992) A simple regression method for mapping quantitative trait loci in line crosses using flanking markers. Heredity 69, 315--324.
Sen, Ś. and Churchill, G. A. (2001) A statistical framework for quantitative trait mapping. Genetics 159, 371--387.
fitqtl
, makeqtl
,
scanqtl
, addtoqtl
,
dropfromqtl
, replaceqtl
,
plotLodProfile
data(fake.bc)
fake.bc <- calc.genoprob(fake.bc, step=2)
qtl <- makeqtl(fake.bc, chr=c(2,5), pos=c(32.5, 17.5), what="prob")
rqtl <- refineqtl(fake.bc, qtl=qtl, method="hk")
Run the code above in your browser using DataLab