Last chance! 50% off unlimited learning
Sale ends in
Calculate an approximate Bayesian credible interval for a particular
chromosome, using output from scanone
.
bayesint(results, chr, qtl.index, prob=0.95, lodcolumn=1, expandtomarkers=FALSE)
An object of class scanone
indicating the
estimated QTL position and the approximate endpoints
for the Bayesian credible interval.
Output from scanone
, or a qtl object
as output from refineqtl
.
A chromosome ID (if input results
are from
scanone
(should have length 1).
Numeric index for a QTL (if input results
are
from refineqtl
(should have length 1).
Probability coverage of the interval.
An integer indicating which
of the LOD score columns should be considered (if input
results
are from scanone
).
If TRUE, the interval is expanded to the nearest flanking markers.
Karl W Broman, broman@wisc.edu
We take
scanone
, lodint
data(hyper)
hyper <- subset(hyper, chr=c(1,4))
hyper <- calc.genoprob(hyper, step=0.5)
out <- scanone(hyper, method="hk")
bayesint(out, chr=1)
bayesint(out, chr=4)
bayesint(out, chr=4, prob=0.99)
bayesint(out, chr=4, expandtomarkers=TRUE)
Run the code above in your browser using DataLab