powered by
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)
A list with four components: "ped" (pedigree information),
"ped"
"gdat" (genotype data), "pdat" (phenotype data), and
"gdat"
"pdat"
"gmap" (genetic map), in the formats used by QTLRel.
"gmap"
An object of class "cross", as defined by the R/qtl package
"cross"
Karl W Broman, kbroman@biostat.wisc.edu
The input cross must by an intercross (class "f2").
"f2"
Simple pedigree information is created, assuming the data are from a standard intercross.
rel2qtl
library(qtl) data(listeria) listeria <- listeria[as.character(1:19),] reldat <- qtl2rel(listeria)
Run the code above in your browser using DataLab