plot_gsea_curve: plot_gsea_curve

View source: R/leading_edge_gene_analysis.R

plot_gsea_curveR Documentation

plot_gsea_curve

Description

Given a "leading edge df" and title, plots GSEA curve with power = 0

Usage

plot_gsea_curve(
  leading_edge_df,
  title,
  aes_color = is_leading_edge,
  geom_type = "point",
  strwidth = 30,
  save = FALSE,
  output_dir = ""
)

Arguments

leading_edge_df

dataframe output by get_leading_edge_df

title

string; title of gene set

aes_color

(optional; default is_leading_edge) var; color aesthetic

geom_type

(optional; default "point") geom type, one of "point" or "line"

strwidth

(optional; default 30) width of title strwrap

save

(optional) TRUE to save the plot to the output directory

output_dir

(optional) output directory if saving

Value

ggplot


amyh25/Rsc documentation built on Jan. 29, 2024, 7:22 a.m.