distributeMarkers and NA
Closed this issue · 1 comments
thoree commented
The NA-s and -s below appear strange to me:
library(pedtools)
x = distributeMarkers(nuclearPed(), n = 20, prefix = "M")
tail(getMap(x))
#> CHROM MARKER MB
#> 15 17 M15 100.2688989
#> 16 19 M16 18.4171132
#> 17 22 M17 0.9116074
#> 18 NA <NA> 56.8220516
#> 19 NA <NA> 40.7455858
#> 20 NA <NA> 33.1612800
Created on 2022-03-29 by the reprex package (v2.0.1)
magnusdv commented
Thanks, solved now!