reduce_map_gaps: Reduce the lengths of gaps in a map

Description Usage Arguments Value See Also Examples

Description

Reduce the lengths of gaps in a map

Usage

1
reduce_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

Input map with any gaps greater than min_gap reduced to min_gap.

See Also

find_map_gaps()

Examples

1
2
iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2geno"))
rev_map <- reduce_map_gaps(iron$gmap, 30)

rqtl/qtl2geno documentation built on May 28, 2019, 2:36 a.m.