plot_enrichment: Plot output of gene set Enrichment Analysis

View source: R/enrichment.R

plot_enrichmentR Documentation

Plot output of gene set Enrichment Analysis

Description

Method to plot the results of the gene set Enrichment Analyisis

Usage

plot_enrichment(
  enrichment.results,
  factor,
  alpha = 0.1,
  max.pathways = 25,
  text_size = 1,
  dot_size = 5
)

Arguments

enrichment.results

output of run_enrichment function

factor

a string with the factor name or an integer with the factor index

alpha

p.value threshold to filter out gene sets

max.pathways

maximum number of enriched pathways to display

text_size

text size

dot_size

dot size

Details

it requires run_enrichment to be run beforehand.

Value

a ggplot2 object


bioFAM/MOFA2 documentation built on June 12, 2024, 3:57 p.m.