Places markers at random positions on chromosomes, for simulating linkage
when no genetic map is available. Use the species' chromosome number and,
if known, its map length; otherwise give build_reference() a range so
that the uncertainty is part of the reference.
Examples
head(random_map(500, chromosomes = 11, length_cM = 1500))
#> chromosome position
#> 15 1 5.816880
#> 9 1 6.923341
#> 5 1 7.035726
#> 14 1 11.781188
#> 24 1 16.564295
#> 29 1 17.531547