gsea_waterfall_plot: gsea_waterfall_plot

Description Usage Arguments Value

View source: R/gsea_waterfall_plot.R

Description

double waterfall plot of the chosen top and bottom pathways by NES from GSEA. Optional labelling of pathways of interest.

Usage

1
2
3
4
5
6
gsea_waterfall_plot(
  gsea_results,
  pathways_to_highlight,
  labels_for_plot = NULL,
  n_terms = 250
)

Arguments

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.

Value

double waterfall plot.


mvhunter1/mvhspatialplots documentation built on April 24, 2021, 10:52 a.m.