Learn R Programming

qtl (version 1.38-4)

c.scanoneperm: Combine data from scanone permutations

Description

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

Usage

## S3 method for class 'scanoneperm':
c(\dots)
## S3 method for class 'scanoneperm':
rbind(\dots)

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

Value

  • The concatenated input, as a scanoneperm object.

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