run_gp2ap | R Documentation |
Read in genotype probabilities, convert them to allele probabilities, and write them back out.
run_gp2ap(input_file, output_file, cores = 1, compress = FALSE)
input_file |
Name of input file (should be RDS) |
output_file |
Name of output file (will be RDS) |
cores |
Number of CPU cores to use, for parallel calculations.
(If |
compress |
If TRUE, save a compressed RDS file (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")
## Not run: run_gp2ap("b6btbr_probs.rds", "b6btbr_aprobs.rds")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.