Learn R Programming

qtl (version 1.70)

c.scanoneperm: Combine data from scanone permutations

Description

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

Usage

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

Value

The concatenated input, as a scanoneperm object.

Arguments

...

A set of objects of class scanoneperm. (This can also be a list of scanoneperm objects.) These are the permutation results from scanone (that is, when n.perm > 0). These must all have the same number of 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 scanone, to assist with the case that such permutations are done on multiple processors in parallel.

See Also

summary.scanoneperm, scanone, cbind.scanoneperm, c.scantwoperm

Examples

Run this code
data(fake.f2)
fake.f2 <- subset(fake.f2, chr=c(18:19,"X"))
fake.f2 <- calc.genoprob(fake.f2)
operm1 <- scanone(fake.f2, method="hk", n.perm=100, perm.Xsp=TRUE)
operm2 <- scanone(fake.f2, method="hk", n.perm=50, perm.Xsp=TRUE)

operm <- c(operm1, operm2)

Run the code above in your browser using DataLab