View source: R/scan_qtl_to_qtl2.R
scan_qtl_to_qtl2 | R Documentation |
Convert the results of R/qtl1 qtl::scanone()
to the form used by the R/qtl2 qtl2::scan1()
.
scan_qtl_to_qtl2(scanone_output)
scanone_output |
Data frame as output by the R/qtl1 function |
List with two objects: the LOD scores in qtl2::scan1()
format, and the map (as a list of marker/pseudomarker
positions).
scan_qtl_to_qtl2()
library(qtl)
data(hyper)
hyper <- calc.genoprob(hyper, step=1, error.prob=0.002)
out <- scanone(hyper)
out2 <- scan_qtl_to_qtl2(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.