Learn R Programming

qtl (version 1.38-4)

c.scantwoperm: Combine data from scantwo permutations

Description

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

Usage

## S3 method for class 'scantwoperm':
c(\dots)
## S3 method for class 'scantwoperm':
rbind(\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 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
data(fake.f2)
fake.f2 <- subset(fake.f2, chr=c(18:19,"X"), ind=1:50)
fake.f2 <- calc.genoprob(fake.f2)
operm1 <- scantwo(fake.f2, method="hk", n.perm=50)
operm2 <- scantwo(fake.f2, method="hk", n.perm=50)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