Learn R Programming

Starr (version 1.28.0)

getIntensities: Get profile of anntated features from a probe mapping

Description

This function gets intensities from an ExpressionSet with a given mapping from the mapFeatures function. It is called by getProfiles, if method ''middle'' is chosen.

Usage

getIntensities(eSet, chr, mapping, gffAnno, upstream, downstream)

Arguments

eSet
an ExpressionSet, containing on sample.
gffAnno
a data frame containing the annotation of the features of interest
upstream
how many basepairs upstream of the feature start (feature start on the crick strand is end in gffAnno) should be taken.
upstream
how many basepairs downtream of the feature start (feature end on the crick strand is start in gffAnno) should be taken.
chr
character vector of chromosomes, from which the features should be taken.
mapping
a mapping of, which was constructed by the mapFeatures function

Value

a list with one entry for each feature.