Description Usage Arguments Author(s) Examples
Writes the consensus map to the JoinMap ".map" format
1 | map_export(MF.obj, file = NULL)
|
MF.obj |
The mapfuser object with filled results slot |
file |
Path to the output file |
Dennis van Muijen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
## Read maps
fpath <- system.file("extdata", package="mapfuser")
maps <- list.files(fpath, pattern = "Col", full.names = TRUE)
MF.obj <- read_maps(mapfiles = maps, sep = ",", header = TRUE,
mapweights = rep(1,7), type = "delim")
## Run map_qc
MF.obj <- map_qc(MF.obj, anchors = 3)
## Construct consensus map
MF.obj <- LPmerge_par(MF.obj = MF.obj, n.cores = 2,
max.interval = 1:3, max.int_sel = "auto", weights = NULL)
## Export to JoinMap format
file <- paste(tempdir(), "/consensus.map", sep="")
map_export(MF.obj, file)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.