qtl2rel {QTLRel} | R 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 |
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)
[Package QTLRel version 1.14 Index]