gs_simplify | R Documentation |
Simplify results from functional enrichment analysis, removing genesets that are redundant to enhance interpretation of the results
gs_simplify(res_enrich, gs_overlap = 0.75)
res_enrich |
A |
gs_overlap |
Numeric value, which defines the threshold for removing
terms that present an overlap greater than the specified value. Changing its
value can control the granularity of how redundant terms are removed from the
original |
A data.frame
with a subset of the original gene sets
gs_volcano()
and ggs_graph()
can e.g. show an overview on the
simplified table of gene sets
# res_enrich object
data(res_enrich_macrophage, package = "GeneTonic")
res_enrich <- shake_topGOtableResult(topgoDE_macrophage_IFNg_vs_naive)
dim(res_enrich)
res_enrich_simplified <- gs_simplify(res_enrich)
dim(res_enrich_simplified)
# and then use this further for all other functions expecting a res_enrich
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.