Learn R Programming

Starr (version 1.28.0)

getFeature: Getting profiles of one annotated features with a given mapping

Description

This function gets the probe intensities of a feature, that was mapped, using the mapFeatures function. It is called by the getIntensities function method, if method "middle" is chosen in getProfiles.

Usage

getFeature(feature, k, mapping, expr_mat, gffAnno, reverse=T)

Arguments

feature
The feature name
mapping
output of the mapFeatures function
expr_mat
the Expression matrix from the assayData
gffAnno
a data frame, containing the gff annotation
k
character or integer, indicating the chromosome
reverse
if true, profiles on the crick strand are reversed, so they are in the right order

Value

a list, containing the profile for the feature.