Formats a genetic map stored in a data.frame to AlphaSimR's internal format. Map positions must be in Morgans.
Examples
genMap = data.frame(markerName=letters[1:5],
chromosome=c(1,1,1,2,2),
position=c(0,0.5,1,0.15,0.4))
asrMap = importGenMap(genMap=genMap)
str(asrMap)
#> List of 2
#> $ 1: Named num [1:3] 0 0.5 1
#> ..- attr(*, "names")= chr [1:3] "a" "b" "c"
#> $ 2: Named num [1:2] 0 0.25
#> ..- attr(*, "names")= chr [1:2] "d" "e"