View source: R/genoprob_to_alleleprob.R
Reduce genotype probabilities (as calculated by
calc_genoprob()) to allele probabilities.
genoprob_to_alleleprob(probs, quiet = TRUE, cores = 1)
Genotype probabilities, as calculated from
Number of CPU cores to use, for parallel calculations.
An object of class
"calc_genoprob", like the input
but with probabilities collapsed to alleles rather than genotypes. See
iron <- read_cross2(system.file("extdata", "iron.zip", package="qtl2")) gmap_w_pmar <- insert_pseudomarkers(iron, step=1) probs <- calc_genoprob(iron, gmap_w_pmar, error_prob=0.002) allele_probs <- genoprob_to_alleleprob(probs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.