Description Usage Arguments Value
View source: R/gsea_waterfall_plot.R
double waterfall plot of the chosen top and bottom pathways by NES from GSEA. Optional labelling of pathways of interest.
1 2 3 4 5 6 | gsea_waterfall_plot(
gsea_results,
pathways_to_highlight,
labels_for_plot = NULL,
n_terms = 250
)
|
gsea_results |
your GSEA results dataframe, should have one column called "pathway" and another called "NES", additional columns are fine too. |
pathways_to_highlight |
a character vector with the exact names of the pathways you want highlighted on your waterfall plot in red circles. |
labels_for_plot |
optional: a character vector with the exact names of the pathways you want labelled as text on your plot. |
n_terms |
the number of terms to be plotted. |
double waterfall plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.