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

View source: R/Functions_L0_auxilary.R

mapLociR Documentation

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)

Arguments

markers

character, vector of marker positions as "chr_position"

genMap

list, genetic map

Value

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


SIMplyBee documentation built on Sept. 20, 2024, 5:07 p.m.