find_map_gaps: Find gaps in a genetic map

View source: R/find_map_gaps.R

find_map_gapsR Documentation

Find gaps in a genetic map

Description

Find gaps between markers in a genetic map

Usage

find_map_gaps(map, min_gap = 50)

Arguments

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.

Value

Data frame with 6 columns: chromosome, marker to left of gap, numeric index of marker to left, marker to right of gap, numeric index of marker to right, and the length of the gap.

See Also

reduce_map_gaps()

Examples

iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2"))
find_map_gaps(iron$gmap, 40)


qtl2 documentation built on May 29, 2024, 11:46 a.m.