plot_enrichment make plot from benchdamic enrichment object.

plot_enrichment(enrichment, enrichment_col, levels_to_plot = NULL, conditions)

Arguments

enrichment

Enrichment output from benchdamic.

enrichment_col

Column with enrichment annotations.

levels_to_plot

Levels used for plotting. Default all.

conditions

Named vector. The names must be condB and condA. Example: c(condB = 'control', condA = 'treatment')

Value

A ggplot object