plot_enrichment: Plot output of gene set Enrichment Analysis

Description Usage Arguments Details Value

View source: R/enrichment.R

Description

Method to plot the results of the gene set Enrichment Analyisis

Usage

1
2
3
4
5
6
7
8
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


MOFA2 documentation built on Nov. 8, 2020, 7:28 p.m.