Skip to contents

This function accesses the statistic slot of a FunctionalEnrichment object and returns a numeric vector with the metric used to rank genes in GSEA.

Usage

enrichmentMetric(object)

Arguments

object

An object of class FunctionalEnrichment containing enrichment results

Value

A numeric vector containing the ranking metric.

Author

Jacopo Ronchi, jacopo.ronchi@unimib.it

Examples

# load example FunctionalEnrichment object
obj <- loadExamples("FunctionalEnrichment")

# extract the ranking metric
rmet <- enrichmentMetric(obj)