Learn R Programming

qtl (version 1.44-9)

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(…)

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.)

Value

The concatenated input, as a scantwoperm object.

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
# NOT RUN {
data(fake.f2)
# }
# NOT RUN {
fake.f2 <- calc.genoprob(fake.f2)
# }
# NOT RUN {
operm1 <- scantwo(fake.f2, method="hk", n.perm=50)
operm2 <- scantwo(fake.f2, method="hk", n.perm=50)
# }
# NOT RUN {
operm <- c(operm1, operm2)
# }

Run the code above in your browser using DataLab