Convert data from R/qtl to QTLRel format
Convert the data for a QTL mapping experiment from the R/qtl format (see http://www.rqtl.org) to that used by QTLRel.
qtl2rel(cross)
cross |
An object of class |
The input cross must by an intercross (class "f2"
).
Simple pedigree information is created, assuming the data are from a standard intercross.
A list with four components: "ped"
(pedigree information),
"gdat"
(genotype data), "pdat"
(phenotype data), and
"gmap"
(genetic map), in the formats used by QTLRel.
Karl W Broman, kbroman@biostat.wisc.edu
library(qtl) data(listeria) listeria <- listeria[as.character(1:19),] reldat <- qtl2rel(listeria)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.