mapLoci {AlphaSimR}R Documentation

Finds positions of loci by marker name

Description

Used to generate lociPerChr and lociLoc objects for a set of markers. These objects can be passed other functions for pulling genotypes or haplotypes.

Usage

mapLoci(markers, genMap)

Arguments

markers

a vector of marker names

genMap

a genetic map in AlphaSimR's internal genetic map format

Value

A list containing lociPerChr and lociLoc that can be


[Package AlphaSimR version 1.6.1 Index]