Learn R Programming

qtl (version 1.70)

condense.scantwo: Condense the output from a 2-d genome scan

Description

Produces a very condensed version of the output of scantwo.

Usage

# S3 method for scantwo
condense(object)

Value

An object of class scantwocondensed, containing just the maximum full, additive and interactive LOD scores, and the positions where they occured, on each pair of chromosomes.

Arguments

object

An object of class scantwo, the output of the function scantwo.

Author

Karl W Broman, broman@wisc.edu

Details

This produces a very reduced version of the output of scantwo, for which a summary may still be created via summary.scantwo, though plots can no longer be made.

See Also

scantwo, summary.scantwo, max.scantwo

Examples

Run this code
data(fake.f2)
fake.f2 <- subset(fake.f2, chr=c(18:19,"X"))
fake.f2 <- calc.genoprob(fake.f2)

out2 <- scantwo(fake.f2, method="hk")

out2c <- condense(out2)
summary(out2c, allpairs=FALSE)
max(out2c)

Run the code above in your browser using DataLab