scan_qtl_to_qtl2 {qtl2convert} | R Documentation |
Convert R/qtl scanone results to R/qtl2 scan1 format
Description
Convert the results of R/qtl1 qtl::scanone()
to the form used by the R/qtl2 qtl2::scan1()
.
Usage
scan_qtl_to_qtl2(scanone_output)
Arguments
scanone_output |
Data frame as output by the R/qtl1 function |
Value
List with two objects: the LOD scores in qtl2::scan1()
format, and the map (as a list of marker/pseudomarker
positions).
See Also
Examples
library(qtl)
data(hyper)
hyper <- calc.genoprob(hyper, step=1, error.prob=0.002)
out <- scanone(hyper)
out2 <- scan_qtl_to_qtl2(out)
[Package qtl2convert version 0.30 Index]