Learn R Programming

qtl (version 1.66)

cbind.scantwoperm: Combine scantwo permutations by column

Description

Column-bind permutations results from scantwo for multiple phenotypes or models.

Usage

# S3 method for scantwoperm
cbind(...)

Value

The column-binded input, as a scantwoperm object.

Arguments

...

A set of objects of class scantwoperm. (This can also be a list of scantwoperm objects.) These are the permutation results from scantwo (that is, when n.perm > 0). These must all concern the same number of permutations.

Author

Karl W Broman, broman@wisc.edu

See Also

scantwo, c.scantwoperm, summary.scantwoperm

Examples

Run this code
data(fake.bc)
fake.bc <- subset(fake.bc, chr=c(18:19), ind=1:50)
fake.bc <- calc.genoprob(fake.bc)
if (FALSE) operm1 <- scantwo(fake.bc, pheno.col=1, method="hk", n.perm=50)
operm2 <- scantwo(fake.bc, pheno.col=2, method="hk", n.perm=50)# \dontshow{
operm1 <- scantwo(fake.bc, pheno.col=1, method="hk", n.perm=3)
operm2 <- scantwo(fake.bc, pheno.col=2, method="hk", n.perm=3)# }

operm <- cbind(operm1, operm2)

Run the code above in your browser using DataLab