Retrieve a stored enrichment result from a Seurat object
Source:R/interpretation.R
sn_get_enrichment_result.RdRetrieve a stored enrichment result from a Seurat object
Usage
sn_get_enrichment_result(
object,
enrichment_name = "default",
top_n = NULL,
groups = NULL,
with_metadata = FALSE
)Arguments
- object
A
Seuratobject.- enrichment_name
Name of the stored enrichment result.
- top_n
Optional number of top terms to keep.
- groups
Optional subset of cluster/group labels when the stored table includes a
Clustercolumn.- with_metadata
If
TRUE, return the full stored result list instead of just the term table.