Spread n_markers markers across the chromosomes of map in proportion to
physical span, interpolating each marker's cM from the map (monotone Hyman
spline, bp -> cM). This is how simulate_nil() samples the bundled consensus
map (load_map()) at a chosen density.
Arguments
- map
A map with columns
chr,cm,bp(e.g. fromload_map()).- n_markers
Approximate total marker count across all chromosomes.