Learn R Programming

qtl (version 1.38-4)

cbind.scantwoperm: Combine scantwo permutations by column

Description

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

Usage

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

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

Value

  • The column-binded input, as a scantwoperm object.

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)
operm1 <- scantwo(fake.bc, pheno.col=1, method="hk", n.perm=50)
operm2 <- scantwo(fake.bc, pheno.col=2, method="hk", n.perm=50)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