importGenMap | R Documentation |
Formats a genetic map stored in a data.frame to AlphaSimR's internal format. Map positions must be in Morgans.
importGenMap(genMap)
genMap |
genetic map as a data.frame. The first three columns must be: marker name, chromosome, and map position (Morgans). Marker name and chromosome are coerced using as.character. |
a list of named vectors
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.