Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

qtl2rel

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

Examples

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

QTLRel

Tools for Mapping of Quantitative Traits of Genetically Related Individuals and Calculating Identity Coefficients from Pedigrees

v1.11
GPL (>= 2)
Authors
Riyan Cheng [aut, cre]
Initial release
2022-6-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.