scan_qtl_to_qtl2: Convert R/qtl scanone results to R/qtl2 scan1 format

View source: R/scan_qtl_to_qtl2.R

scan_qtl_to_qtl2R 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 qtl::scanone().

Value

List with two objects: the LOD scores in qtl2::scan1() format, and the map (as a list of marker/pseudomarker positions).

See Also

scan_qtl_to_qtl2()

Examples

library(qtl)
data(hyper)
hyper <- calc.genoprob(hyper, step=1, error.prob=0.002)
out <- scanone(hyper)
out2 <- scan_qtl_to_qtl2(out)


qtl2convert documentation built on July 11, 2022, 5:08 p.m.