Learn R Programming

AlphaSimR (version 0.10.0)

SimParam_switchGenMap: Switch genetic map

Description

Replaces existing genetic map.

Arguments

genMap

a list of length nChr containing numeric vectors for the position of each segregating site on a chromosome.

centromere

a numeric vector of centromere positions. If NULL, the centromere are assumed to be metacentric.

Usage

SP$switchGenMap(genMap)