Learn R Programming

eqtl (version 1.1-7)

map.peak: Summaries maximum LOD peak position from peak object

Description

Summaries all maximum LOD peaks position from peak object as a data frame. This function is useful for Composite Interval Mapping to define as co-factor previously detected QTLs.

Usage

map.peak(peak)

Arguments

peak
An object of class peak. See define.peak function for details.

Value

Returns a data frame with columns:
trait
The names of the affected traits.
chr
The names of the chromosomes on which the QTL has been detected.
cM
The genetic position of the detected QTL.

Details

Summaries all detected QTLs location from peak object as a data frame. This function could be used by the function wash.covar and gives an overview of the covariates which can be used for a Composite Interval Mapping.

See Also

define.peak

Examples

Run this code
data(seed10);

out.em <- scanone( seed10, pheno.col=1:50, model='normal', method='hk');
out.peak <- define.peak(out.em, 'all');

covar <- map.peak(out.peak);

covar;

Run the code above in your browser using DataLab