probs_qtl_to_qtl2 {qtl2convert} | R Documentation |
Convert R/qtl genotype probabilities to R/qtl2 format
Description
Convert R/qtl genotype probabilities to R/qtl2 format
Usage
probs_qtl_to_qtl2(cross)
Arguments
cross |
An R/qtl |
Value
A list with two components:
-
"probs"
- the genotype probabilities in the form produced byqtl2::calc_genoprob()
-
"map"
- Map of marker/pseudomarker positions (a list of vectors of positions)
Examples
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
[Package qtl2convert version 0.30 Index]