Learn R Programming

qtl (version 1.44-9)

c.scantwo: Combine columns from multiple scantwo results

Description

Concatenate the columns from different runs of scantwo.

Usage

# S3 method for scantwo
c(…)
# S3 method for scantwo
cbind(…)

Arguments

A set of objects of class scantwo. (This can also be a list of scantwo objects.) These are the results from scantwo (with n.perm=0), generally run with different phenotypes or methods. All must conform with each other, meaning that calc.genoprob and/or sim.geno were run with the same values for step and off.end and with data having the same genetic map.

Value

The concatenated input, as a scantwo object.

Details

The aim of this function is to concatenate the results from multiple runs scantwo, generally for different phenotypes and/or methods.

See Also

summary.scantwo, scantwo, c.scanone

Examples

Run this code
# NOT RUN {
data(fake.bc)
fake.bc <- calc.genoprob(fake.bc)
# }
# NOT RUN {
out2a <- scantwo(fake.bc, method="hk")
out2b <- scantwo(fake.bc, pheno.col=2, method="hk")

out2 <- c(out2a, out2b)
# }

Run the code above in your browser using DataLab