Extract the names of the pre-ranked features in a GSEA experiment
Source:R/AllGenerics.R
enrichedFeatures.Rd
This function accesses the features
slot of a
FunctionalEnrichment
object and returns
a character
vector with the names of the features considered in GSEA in
the same order as the ranking metric.
Arguments
- object
An object of class
FunctionalEnrichment
containing enrichment results
Author
Jacopo Ronchi, jacopo.ronchi@unimib.it
Examples
# load example FunctionalEnrichment object
obj <- loadExamples("FunctionalEnrichment")
# extract the ranking metric
rmet <- enrichmentMetric(obj)
## extract the corresponding names
rnames <- enrichedFeatures(obj)