View source: R/reduce_map_gaps.R
reduce_map_gaps | R Documentation |
Reduce the lengths of gaps in a map
reduce_map_gaps(map, min_gap = 50)
map |
Genetic map as a list of vectors (each vector is a chromosome and contains the marker positions). |
min_gap |
Minimum gap length to return. |
Input map with any gaps greater than min_gap
reduced to min_gap
.
find_map_gaps()
iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2"))
rev_map <- reduce_map_gaps(iron$gmap, 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.