Learn R Programming

AlphaSimR (version 2.0.0)

selectLoci: Find loci on specific chromosomes

Description

This function alters the lociPerChr and lociLoc vectors to reflect only loci on a specific chromosomes.

Usage

selectLoci(chr, inLociPerChr, inLociLoc)

Value

a list with lociPerChr and lociLoc

Arguments

chr

chromosomes to select

inLociPerChr

original lociPerChr vector

inLociLoc

original lociLoc vector