Learn R Programming

qtl (version 1.38-4)

c.scantwo: Combine columns from multiple scantwo results

Description

Concatenate the columns from different runs of scantwo.

Usage

## S3 method for class 'scantwo':
c(\dots)
## S3 method for class 'scantwo':
cbind(\dots)

Arguments

...
A set of objects of class scantwo. (This can also be a list of scantwo objects.) These are the results from scantwo (with n.perm=0), generally run with differe

Value

  • The concatenated input, as a scantwo object.

Details

The aim of this function is to concatenate the results from multiple runs scantwo, generally for different phenotypes and/or methods.

See Also

summary.scantwo, scantwo, c.scanone

Examples

Run this code
data(fake.bc)
fake.bc <- calc.genoprob(fake.bc)
fake.bc <- subset(fake.bc, chr=18:19)
out2a <- scantwo(fake.bc, method="hk")
out2b <- scantwo(fake.bc, pheno.col=2, method="hk")

out2 <- c(out2a, out2b)

Run the code above in your browser using DataLab