breakCross | R Documentation |
Breaks linkage groups of an qtl cross object from a user specified list.
breakCross(cross, split = NULL, suffix = "numeric", sep = ".")
cross |
An qtl |
split |
A list named by the linkage groups required for splitting and containing marker names immediately preceding where the splits are to be made (see Details). |
suffix |
This can be a vector of character strings containing |
sep |
The character separator to be used to separate the linkage group name and the suffix. |
The splitting of any linkage group only needs to be defined by the markers immediately preceding where the splits are to be made. Multiple splits in the one linkage group are possible as well as splitting across multiple linkage groups with one call.
The cross object is returned with identical class structure as the
inputted cross object. The "geno"
element will contain
separate linkage groups for the user defined splits.
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.
mergeCross
data(mapDH, package = "ASMap")
mapDH1 <- breakCross(mapDH, split = list("4A" = "4A.m.8"))
pull.map(mapDH1)[["4A.1"]]
pull.map(mapDH1)[["4A.2"]]
## manually choose suffix
mapDH1 <- breakCross(mapDH, split = list("4A" = "4A.m.8"),
suffix = list("4A" = c("4AA","4AB")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.