peak.2.array: Build a simple array from a peak object

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Build a simple array from a peak object.

Usage

1

Arguments

peak

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

Details

Useful for a genome-wide eQTL mapping. Formats the results as a simple array which allows to use all of classical R functions (graphical, statistical, summaries, ...) and permits the results to be manipulated in the simplest way. All expression traits are represented and those which are not affected by any QTL, contain the empty data <NA> in each column.

Value

Return an object of class array.peak which is a data frame whith columns:

trait

The name of the studied traits.

chr

The number of the chromosome.

mname.peak

The peak (pseudo-)marker name when a QTL was detected. <NA> if no QTL was detected.

lod

The peak LOD score when a QTL was detected. <NA> if no QTL was detected.

peak.cM

The genetic position of the peak in centiMorgan(cM) when QTL was detected. <NA> if no QTL was detected.

mname.inf

The (pseudo-)marker name corresponding to the inferior SI bound when a QTL was detected. <NA> if no QTL was detected.

inf.cM

The genetic position of the inferior SI bound in centiMorgan(cM) when a QTL was detected. <NA> if no QTL was detected.

mname.sup

The (pseudo-)marker names corresponding to the superior SI bound when a QTL was detected. <NA> if no QTL was detected.

sup.cM

The genetic position of the superior SI bound in centiMorgan(cM) if a QTL was detected. <NA> if no QTL was detected.

si.quality

The subjective quality if the support interval. See ‘define.peak’ for details.

According the methods used to create the peak object, the following columns could be persent:

additive.effect

The additive effects of the QTL. <NA> if no QTL has been detected.

peak.bp

The physical position of the maximum LOD peak. <NA> if no QTL was detected.

inf.bp

The physical position of the SI lower bound. <NA> if no QTL was detected.

sup.bp

The physical position of the SI upper bound. <NA> if no QTL was detected.

type

The estimated type of the eQTLs ( trans or cis for cis- and trans- eQTL respectively). <NA> if no QTL was detected or in case of non nuclear expression trait.

Author(s)

Hamid A. Khalili

See Also

scanone,read.cross

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
data(seed10);

# Defining QTLs for all traits
out.em <- scanone( seed10, pheno.col=1:50, model='normal', method='hk');
out.peak <- define.peak( out.em, 'all',graph=TRUE,save.pict=TRUE);

## Not run: out.array <- peak.2.array(out.peak);
# Computing additive effect
out.peak <- calc.adef(seed10,out.em,out.peak);
# Localizing peak
data(BSpgmap);
out.peak <- localize.qtl(seed10,out.peak,BSpgmap);

## End(Not run)

out.array <- peak.2.array(out.peak);

eqtl documentation built on May 2, 2019, 5:42 a.m.

Related to peak.2.array in eqtl...