Learn R Programming

Starr (version 1.28.0)

getProfilesByBase: Get profiles of ChIP-signal over annotated features (basewise)

Description

This function associates the measured ChIP signals to annotated features and stores the profile of each feature in a list. It is called by getProfiles, if method ''basewise'' is chosen. User should call this function.

Usage

getProfilesByBase(eSet, probeAnno, chr, gffAnno, upstream, downstream)

Arguments

eSet
an ExpressionSet, containing on sample.
probeAnno
a probeAnno object for the given ExpressionSet
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.

Value

a list with one entry for each feature.