The total number of markers. Either this or dist must be NULL.
dist
A positive number; the distance (in megabases) between markers.
chromLen
A numeric vector indicating chromosome lengths (in Mb). By
default, the lengths of the human chromosomes 1-22 are used, as returned by
sapply(ibdsim2::loadMap("decode"), ibdsim2::physRange).
alleles, afreq
Passed onto marker().
prefix
A string used as prefix for marker names. Default: "M".
Details
Note: When using the dist parameter, the function treats each chromosome
separately, places one marker at the start and then every dist megabases.
(See Examples.)