Learn R Programming

qtl (version 1.39-5)

c.cross: Combine data for QTL experiments

Description

Concatenate the data for multiple QTL experiments.

Usage

"c"(...)

Arguments

...
A set of objects of class cross. See read.cross for details. These must all either be of the same cross type or be a combination of backcrosses and intercrosses. All crosses must have the same number of chromosomes and chromosome names, and the same marker orders and positions, though the set of markers need not be precisely the same.

Value

The concatenated input, as a cross object. Additional columns are added to the phenotype data indicating which cross an individual comes from; another column indicates cross type (0=BC, 1=intercross), if there are crosses of different types. The crosses are not required to have exactly the same set of phenotypes; phenotypes with the same names are assumed to be the same.If the crosses have different sets of markers, we interpolate marker order, but the cM positions of markers that are in common between crosses must be precisely the same in the different crosses.

See Also

subset.cross

Examples

Run this code
data(fake.f2)
junk <- fake.f2
junk <- c(fake.f2,junk)

Run the code above in your browser using DataLab