Learn R Programming

qtl (version 1.44-9)

summary.qtl: Print summary of a QTL object

Description

Print summary information about a qtl object.

Usage

# S3 method for qtl
summary(object, …)

Arguments

object

An object of class qtl, created by makeqtl.

Ignored at this point.

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.

See Also

makeqtl

Examples

Run this code
# NOT RUN {
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)
# }
# NOT RUN {
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