OverlapBarPlot: OverlapBarPlot

View source: R/plotting.R

OverlapBarPlotR Documentation

OverlapBarPlot

Description

Plots the results from OverlapModulesDEGs as a bar plot

Usage

OverlapBarPlot(
  overlap_df,
  plot_var = "odds_ratio",
  logscale = FALSE,
  neglog = FALSE,
  label_size = 2,
  ...
)

Arguments

overlap_df

the Module/DEG overlap table from OverlapModulesDEGs

plot_var

the name of the overlap statistic to plot

logscale

logical controlling whether to plot the result on a log scale, useful for odds ratio

neglog

logical controlling wehether to plot the result as a negative log, useful for p-value / FDR

label_size

the size of the module labels in the bar plot

Examples

OverlapBarPlot

smorabit/scWGCNA documentation built on April 4, 2024, 10:32 a.m.