Skip to contents

This function accesses the geneSet slot of a FunctionalEnrichment object and returns a list with the collection of genes used for the enrichment.

Usage

geneSet(object)

Arguments

object

An object of class FunctionalEnrichment containing enrichment results

Value

A list containing the gene-sets.

Author

Jacopo Ronchi, jacopo.ronchi@unimib.it

Examples

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

# extract the gene-sets
gs <- geneSet(obj)