Determine the number of QTL in a QTL object
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
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.