plot_enrichment_barplot: Plots barplot as used by clusterProfiler

View source: R/plot_enrichment_barplot.R

plot_enrichment_barplotR Documentation

Plots barplot as used by clusterProfiler

Description

Plots barplot as used by clusterProfiler

Usage

plot_enrichment_barplot(
  data,
  x = "Count",
  color = "p.adjust",
  showCategory = 8,
  font.size = 10,
  title = "",
  label_format = 20,
  inverse = F,
  silent = F
)

Arguments

data

enrichResult

x

one of 'Count' and 'GeneRatio'

color

one of 'pvalue', 'p.adjust' and 'qvalue'

showCategory

number of categories to show

font.size

font size

title

plot title

label_format

a numeric value sets wrap length, alternatively a custom function to format axis labels. by default wraps names longer that 30 characters

silent

suppress error message and only return NULL


nicohuttmann/pOmics documentation built on Sept. 21, 2022, 9:28 a.m.