Last chance! 50% off unlimited learning
Sale ends in
Estimate the locations of crossovers in each individual on each chromosome.
locate_xo(geno, map, quiet = TRUE, cores = 1)
List of vectors with the map positions of the markers.
If FALSE, print progress messages.
Number of CPU cores to use, for parallel calculations.
(If 0
, use parallel::detectCores()
.)
Alternatively, this can be links to a set of cluster sockets, as
produced by parallel::makeCluster()
.
A list of lists of estimated crossover locations, with crossovers placed at the midpoint of the intervals that contain them.
# NOT RUN {
iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2"))
map <- insert_pseudomarkers(iron$gmap, step=1)
pr <- calc_genoprob(iron, map, error_prob=0.002, map_function="c-f")
g <- maxmarg(pr)
pos <- locate_xo(g, iron$gmap)
# }
Run the code above in your browser using DataLab