Skip to contents

This function accesses the method slot of a FunctionalEnrichment object and returns a the name of the enrichment strategy used by the enrichGenes() function to perform the enrichment analysis.

Usage

enrichmentMethod(object)

Arguments

object

An object of class FunctionalEnrichment containing enrichment results

Value

A character containing the enrichment method, such as GSEA.

Author

Jacopo Ronchi, jacopo.ronchi@unimib.it

Examples

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

# see the method
enrichmentMethod(obj)
#> [1] "Gene-Set Enrichment Analysis (GSEA)"