enrich_barplot: Generate barplot for enrichment results

View source: R/fct_11_enrichment.R

enrich_barplotR Documentation

Generate barplot for enrichment results

Description

Used to translate enrichment analysis results into bar plot like those in ShinyGO

Usage

enrich_barplot(
  enrichment_dataframe,
  pathway_order,
  order_x,
  plot_size,
  plot_color,
  plot_font_size,
  plot_marker_size,
  plot_high_color,
  plot_low_color,
  chart_type,
  aspect_ratio,
  select_cluster
)

Arguments

enrichment_dataframe

A data frame of pathways, P values ect.

pathway_order

Sort pathway list

order_x

x-axis order

plot_size

size mapping vairalbe

plot_color

color mapping vairable

plot_font_size

font size

plot_marker_size

marker size

plot_high_color

High color

plot_low_color

low color

chart_type

barplot, lollipop, or dotplot

aspect_ratio

aspect ratio of plot

select_cluster

which cluster is selected

threshold_wald_test

whether to use threshold-based Wald test

Value

A ggplot2 object


espors/idepGolem documentation built on April 23, 2024, 1:11 p.m.