mergeCross {ASMap} | R Documentation |
Merge linkage groups of an qtl cross object
Description
Merges linkage groups of an qtl cross object from a user specified list.
Usage
mergeCross(cross, merge = NULL, gap = 5)
Arguments
cross |
An qtl |
merge |
A list with elements containing the linkage groups to be merged with each element named by the proposed linkage group name (see Examples). |
gap |
The cM gap to put between the merged map elements in the complete linkage group. |
Details
This merging function allows you to perform multiple merges of two or more linkage groups in one call. Users should ensure linkage group names are correct and that proposed linkage group names do not already exist.
Value
The cross object is returned with identical class structure as the
inputted cross object. The "geno"
element should now contain
merged linkage groups for the user defined merges.
Author(s)
Julian Taylor
References
Taylor, J., Butler, D. (2017) R Package ASMap: Efficient Genetic Linkage Map Construction and Diagnosis. Journal of Statistical Software, 79(6), 1–29.
See Also
Examples
data(mapDH, package = "ASMap")
mapDH1 <- breakCross(mapDH, split = list("4A" = "4A.m.8"))
pull.map(mapDH1)[["4A.1"]]
pull.map(mapDH1)[["4A.2"]]
mapDH2 <- mergeCross(mapDH1, merge = list("4A" = c("4A.1","4A.2")))
pull.map(mapDH2)[["4A"]]