mergeCross | R Documentation |
Merges linkage groups of an qtl cross object from a user specified list.
mergeCross(cross, merge = NULL, gap = 5)
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. |
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.
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.
Julian Taylor
Taylor, J., Butler, D. (2017) R Package ASMap: Efficient Genetic Linkage Map Construction and Diagnosis. Journal of Statistical Software, 79(6), 1–29.
breakCross
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"]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.