go_term_bar | R Documentation |
nice looking bar graph of top GO terms from GSEA by pval or NES.
go_term_bar(
gsea_results,
n_terms = 10,
metric = "NES",
fill = T,
change_labels = F,
pval_fill = T
)
gsea_results |
dataframe with GSEA results. |
n_terms |
number of top GO terms to plot. |
metric |
must be "NES" or "pval". |
fill |
if T, will fill bars with gradient colours, if F, will fill bars with grey only. |
change_labels |
to change pathway names to lowercase and remove "GO:" from the pathway names. |
pval_fill |
if T, will colour bars based on pval. |
bar graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.