Skip to contents

Plots the enrichment of pathways in a given dataset.

Usage

prot.plot_enrichment(
  enrichset,
  title = "Differentially enriched pathways",
  subtitle = "",
  plot = TRUE,
  export = FALSE,
  kegg = TRUE
)

Arguments

enrichset

A data frame containing the enrichment results.

title

The title of the plot.

subtitle

The subtitle of the plot.

plot

Logical; whether to return the plot or not.

export

Logical; whether to export the plot as PDF an PNG files

kegg

Logical; whether the enrichment results are from KEGG or not.

Value

A ggplot object.

See also