Learn R Programming

SIMplyBee (version 0.4.1)

mapLoci: Finds loci on a genetic map and return a list of positions

Description

Finds loci on a genetic map and return a list of positions. This function is adopted from AlphaSimR (Gaynor et al., 2021)

Usage

mapLoci(markers, genMap)

Value

A list with number of loci per chromosome and genetic positions of the markers

Arguments

markers

character, vector of marker positions as "chr_position"

genMap

list, genetic map