EnrichrBarPlot: EnrichrBarPlot

View source: R/plotting.R

EnrichrBarPlotR Documentation

EnrichrBarPlot

Description

Makes barplots from RunEnrichr output.

Usage

EnrichrBarPlot(
  seurat_obj,
  outdir = "enrichr_plots",
  n_terms = 25,
  plot_size = c(6, 15),
  logscale = FALSE,
  plot_bar_color = NULL,
  plot_text_color = NULL,
  wgcna_name = NULL,
  ...
)

Arguments

seurat_obj

A Seurat object

outdir

directory to place output .pdf files

n_terms

the number of terms to plot in each barplot

plot_size

the size of the output .pdf files (width, height)

logscale

logical controlling whether to plot the enrichment on a log scale

plot_bar_color

The color of the bars in the bar plots. Default option (NULL) makes the bars colored using the module's assigned color.

plot_text_color

The color of the text labels on the bar plots

wgcna_name

The name of the hdWGCNA experiment in the seurat_obj@misc slot

Examples

EnrichrBarPlot

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