Learn R Programming

bqtl (version 1.0-3)

map.index: Look up numerical index(es) of map locations

Description

One way to index a locus (loci) in a genetic map is by the numerical index of its row (their rows). map.index performs a lookup in a specific map.frame given one (or two) chromosome number(s) and one (or two) map distance(s).

Usage

map.index(x, chromo, cM)

Arguments

x
A map.frame or analysis.object
chromo
A chromosome number or 2 ordered numbers
cM
(Optional) map distance or two. If the same chromosome number is used twice in chromo, cM must be ordered. If cM is omitted, all loci on the chromosome will be included.)