plot_top_leg: plot_top_leg

View source: R/leading_edge_gene_analysis.R

plot_top_legR Documentation

plot_top_leg

Description

Given a "leading edge df" and title, plots a bar plot with the top leading edge genes

Usage

plot_top_leg(
  leading_edge_gene_df,
  title,
  topn = 20,
  save = FALSE,
  output_dir = ""
)

Arguments

title

string; title of gene set

topn

(optional; default 20) the number of top leading edge genes to plot

save

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

output_dir

(optional) output directory if saving

leading_edge_df

dataframe output by get_leading_edge_df

Value

ggplot


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