convertOutput | R Documentation |
Convert the output of anal.leaps, anal.mcmc or perm for use with the function which.correct.
convertOutput(object, n.mar=rep(11,9))
object |
An object of the form output from
|
n.mar |
Vector indicating the number of markers on each chromosome. |
A matrix whose columns are identified QTLs, and rows are chromosome and marker numbers, respectively.
Karl W Broman, broman@wisc.edu
anal.leaps
,
anal.mcmc
, perm
,
which.correct
dat <- simbc(n.ind=250)
res1 <- anal.leaps(dat, "forward", 2.1, 27)
res2 <- anal.leaps(dat, "backward", 2.1, 27)
res <- lapply(list(res1,res2), convertOutput)
out <- which.correct(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.