nqtl | R Documentation |
Determine the number of QTL in a QTL object.
nqtl(qtl)
qtl |
An object of class |
The number of QTL in the input QTL object.
Karl W Broman, broman@wisc.edu
makeqtl
, fitqtl
,
dropfromqtl
, replaceqtl
,
addtoqtl
, summary.qtl
,
reorderqtl
data(fake.f2)
# take out several QTLs and make QTL object
qc <- c("1", "6", "13")
qp <- c(25.8, 33.6, 18.63)
fake.f2 <- subset(fake.f2, chr=qc)
fake.f2 <- calc.genoprob(fake.f2, step=2, err=0)
qtl <- makeqtl(fake.f2, qc, qp, what="prob")
nqtl(qtl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.