qtl2rel: Convert data from R/qtl to QTLRel format

View source: R/qtl2rel.R

qtl2relR Documentation

Convert data from R/qtl to QTLRel format

Description

Convert the data for a QTL mapping experiment from the R/qtl format (see http://www.rqtl.org) to that used by QTLRel.

Usage

qtl2rel(cross)

Arguments

cross

An object of class "cross", as defined by the R/qtl package

Details

The input cross must by an intercross (class "f2").

Simple pedigree information is created, assuming the data are from a standard intercross.

Value

A list with four components: "ped" (pedigree information), "gdat" (genotype data), "pdat" (phenotype data), and "gmap" (genetic map), in the formats used by QTLRel.

Author(s)

Karl W Broman, kbroman@biostat.wisc.edu

See Also

rel2qtl

Examples

library(qtl)
data(listeria)
listeria <- listeria[as.character(1:19),]
reldat <- qtl2rel(listeria)

QTLRel documentation built on Aug. 9, 2023, 1:07 a.m.

Related to qtl2rel in QTLRel...