getGeneSets.Rd
Obtain gene set names
getGeneSets(object, of_class = "all", index = NULL, simplify = TRUE)
getGeneSetsInteractive(object)
An object of class spata2
.
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 printGeneSetOverview()
). If set to "all" all
gene sets are returned.
A regular expression according to which the gene set names to be returned are filtered again.
Logical. If set to TRUE the output list is simplified to a vector if possible. If set to FALSE a list is returned.
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.