combineMpcross: Combine mpcross objects

Description Usage Arguments Details Value

Description

Combine two mpcross objects into a single object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'mpcrossMapped,mpcrossMapped'
e1 + e2

## S4 method for signature 'mpcross,mpcross'
e1 + e2

## S4 method for signature 'mpcrossRF,mpcrossRF'
e1 + e2

## S4 method for signature 'mpcrossRF,mpcross'
e1 + e2

Arguments

e1

An mpcross object

e2

Another mpcross object

Details

These addition operators combine multiple objects of classes mpcross or mpcrossMapped into a single object. The input objects may contain recombination fraction data, or may have associated genetic maps. The operators try to keep whatever extra data is in the input objects, and will warn if data is discarded. Data will be discarded if, for example, one of the objects contains recombination fraction data and the other does not.

In general, the combined object will contain the input objects as separate experiments. In special cases, the datasets may actually be combined as a single experiment. For example, if the input objects contains disjoint sets of markers, but the same genetic lines, then the datasets will be combined. Similarly, if the input objects contain the same genetic markers, but disjoint sets of genetic lines, then the datasets will be combined.

Internally this function redirects to another generic named addMpMap2, because this generic allows for optional named arguments.

Value

A combined object that contains the data from both e1 and e2.


rohan-shah/mpMap2 documentation built on July 21, 2020, 8:58 p.m.