View source: R/Seurat.Utils.Visualization.R
filterGoEnrichment | R Documentation |
This function filters GO enrichment results based on adjusted p-value and q-value cutoffs, and retrieves the descriptions of the filtered results.
filterGoEnrichment(
df.enrichments,
pvalueCutoff = NULL,
qvalueCutoff = NULL,
colname = "Description"
)
df.enrichments |
An object of class |
pvalueCutoff |
Numeric. The p-value cutoff for filtering the results. Default: NULL, meaning
that the default cutoff of the input object is used. It is stored in |
qvalueCutoff |
Numeric. The q-value cutoff for filtering the results. Default: NULL,
meaning that the default cutoff of the input object is used. It is stored in |
colname |
Character. The name of the column containing the GO-term names, or else. |
A character vector of descriptions of the filtered GO enrichment results.
# Assuming GO.Enriched.DL.Ctrl is an object of class `enrichResult` created by clusterprofiler or equivalent
descriptions <- filterGoEnrichment(GO.Enriched.DL.Ctrl)
print(descriptions)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.