View source: R/run_calcgenoprob.R
run_calcgenoprob | R Documentation |
Run calc_genoprob and save result to rds
run_calcgenoprob(
cross_file,
output_file,
map_file = NULL,
step = 0,
off_end = 0,
stepwidth = c("fixed", "max"),
error_prob = 0.0001,
map_function = c("haldane", "kosambi", "c-f", "morgan"),
cores = 1,
compress = FALSE
)
cross_file |
Character string with path to RDS file containing cross |
output_file |
Character string with path to RDS file for output |
map_file |
Character string with path to RDS file for writing genetic map (with inserted pseudomarkers) |
step |
Distance between pseudomarkers and markers; if
|
off_end |
Distance beyond terminal markers in which to insert pseudomarkers. |
stepwidth |
Indicates whether to use a fixed grid
( |
error_prob |
Assumed genotyping error probability |
map_function |
Character string indicating the map function to use to convert genetic distances to recombination fractions. |
cores |
Number of CPU cores to use, for parallel calculations.
(If |
compress |
If TRUE, save compressed RDS files (smaller but slower). |
input_file <- paste0("https://github.com/rqtl/qtl2data/",
"blob/master/B6BTBR/b6btbr.zip")
## Not run: cross2rds(input_file, "b6btbr.rds")
## Not run: run_calcgenoprob("b6btbr.rds", "b6btbr_probs.rds", "b6btbr_gmap.rds")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.