loadMap {KLINK} | R Documentation |
Load genetic map
Description
Load genetic map
Usage
loadMap(path)
Arguments
path |
Path to a map file, which should contain columns |
Value
A data frame.
Examples
tmp = tempfile(fileext = ".map")
map1 = as.data.frame(norSTR::map50)
write.table(map1, tmp, sep = "\t", quote = FALSE, row.names = FALSE)
map2 = loadMap(tmp)
stopifnot(all.equal(map1, map2))
[Package KLINK version 1.1.0 Index]