Learn R Programming

qtl (version 1.66)

summary.qtl: Print summary of a QTL object

Description

Print summary information about a qtl object.

Usage

# S3 method for qtl
summary(object, ...)

Value

An object of class summary.qtl, which is just a data.frame containing the chromosomes, positions, and number of possible genotypes for each QTL.

Arguments

object

An object of class qtl, created by makeqtl.

...

Ignored at this point.

Author

Karl W Broman, broman@wisc.edu

See Also

makeqtl

Examples

Run this code
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 <- subset(fake.f2, ind=1:50)
fake.f2 <- calc.genoprob(fake.f2, step=2, err=0.001)
qtl <- makeqtl(fake.f2, qc, qp, what="prob")

summary(qtl)

Run the code above in your browser using DataLab