View source: R/probs_qtl_to_qtl2.R
probs_qtl_to_qtl2 | R Documentation |
Convert R/qtl genotype probabilities to R/qtl2 format
probs_qtl_to_qtl2(cross)
cross |
An R/qtl |
A list with two components:
"probs"
- the genotype probabilities in the form produced by qtl2::calc_genoprob()
"map"
- Map of marker/pseudomarker positions (a list of vectors of positions)
library(qtl)
data(hyper)
hyper <- calc.genoprob(hyper, step=1, error.prob=0.002)
result <- probs_qtl_to_qtl2(hyper)
pr <- result$probs
map <- result$map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.