nqtl {qtl}R Documentation

Determine the number of QTL in a QTL object

Description

Determine the number of QTL in a QTL object.

Usage

nqtl(qtl)

Arguments

qtl

An object of class qtl. See makeqtl for details.

Value

The number of QTL in the input QTL object.

Author(s)

Karl W Broman, broman@wisc.edu

See Also

makeqtl, fitqtl, dropfromqtl, replaceqtl, addtoqtl, summary.qtl, reorderqtl

Examples

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)

[Package qtl version 1.66 Index]