Learn R Programming

qtl2 (version 0.36)

convert2cross2: Convert R/qtl cross object to new format

Description

Convert a cross object from the R/qtl format to the R/qtl2 format

Usage

convert2cross2(cross)

Value

Object of class "cross2". For details, see the R/qtl2 developer guide.

Arguments

cross

An object of class "cross"; see qtl::read.cross() for details.

See Also

read_cross2()

Examples

Run this code
library(qtl)
data(hyper)
hyper2 <- convert2cross2(hyper)

Run the code above in your browser using DataLab