Learn R Programming

qtl (version 1.70)

c.scantwoperm: Combine data from scantwo permutations

Description

Concatenate the data for multiple runs of scantwo with n.perm > 0.

Usage

# S3 method for scantwoperm
c(...)
# S3 method for scantwoperm
rbind(...)

Value

The concatenated 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 LOD columns. (That is, they must have been created with the same number of phenotypes, and it is assumed that they were generated in precisely the same way.)

Author

Karl W Broman, broman@wisc.edu

Details

The aim of this function is to concatenate the results from multiple runs of a permutation test scantwo, to assist with the case that such permutations are done on multiple processors in parallel.

See Also

summary.scantwoperm, scantwo, cbind.scantwoperm

Examples

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

operm <- c(operm1, operm2)

Run the code above in your browser using DataLab