Skip to contents

Gene set names

Usage

geneSetNames(object, ...)

# S4 method for FgseaList
geneSetNames(object, collection)

Arguments

object

Object.

collection

character(1). Gene set collection name. Typically refers to h (hallmark), c1-c7 collections from MSigDb. Can obtain using collectionNames() on FgseaList object.

...

Additional arguments.

Value

character.

Note

Updated 2022-04-27.

Examples

data(fgsea)

## FgseaList ====
object <- fgsea
collection <- collectionNames(object)[[1L]]
head(geneSetNames(object = object, collection = collection))
#> [1] "HALLMARK_ADIPOGENESIS"        "HALLMARK_ALLOGRAFT_REJECTION"
#> [3] "HALLMARK_ANDROGEN_RESPONSE"   "HALLMARK_ANGIOGENESIS"       
#> [5] "HALLMARK_APICAL_JUNCTION"     "HALLMARK_APICAL_SURFACE"