Learn R Programming

QTLRel (version 0.2-15)

rel2qtl: Convert data from QTLRel to R/qtl format

Description

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

Usage

rel2qtl(gdat, pdat, gmap)

Arguments

gdat

Genotype data

pdat

Phenotype data

gmap

Genetic map

Value

A cross object for the R/qtl package (http://www.rqtl.org).

Details

Pedigree information is ignored, and X chromosome data is omitted.

The data are treated as an intercross.

See Also

qtl2rel

Examples

Run this code
# NOT RUN {
data(miscEx)
f8 <- rel2qtl(gdatF8, pdatF8, gmapF8)
summary(f8)
# }

Run the code above in your browser using DataLab