getGeneSets.Rd
Obtain gene set names
getGeneSets(object, of_class = "all", index = NULL, simplify = TRUE) getGeneSetsInteractive(object)
object | A valid spata-object. |
---|---|
of_class | A character vector indicating the classes from which to obtain
the gene set names. (Which classes exist in the current gene set data.frame can
be obtained e.g. with |
index | A regular expression according to which the gene set names to be returned are filtered again. |
simplify | Logical. If set to TRUE the list to be returned is simplified into a character vector. |
A list named according to the input of argument of_class
. Each element of
the returned list is a character vector containing the names of gene sets of the specified classes.
The list is coalesced to an unnamed vector if simplify
is set to TRUE.