Extract the GSEA ranking metric used for functional enrichment analyses
Source:R/AllGenerics.R
enrichmentMetric.RdThis function accesses the statistic slot of a
FunctionalEnrichment object and returns
a numeric vector with the metric used to rank genes in GSEA.
Arguments
- object
An object of class
FunctionalEnrichmentcontaining enrichment results
Author
Jacopo Ronchi, jacopo.ronchi@unimib.it
Examples
# load example FunctionalEnrichment object
obj <- loadExamples("FunctionalEnrichment")
# extract the ranking metric
rmet <- enrichmentMetric(obj)