Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ridgeplot

ridgeplot


Description

ridgeline plot for GSEA result

Usage

ridgeplot(
  x,
  showCategory = 30,
  fill = "p.adjust",
  core_enrichment = TRUE,
  label_format = 30
)

## S4 method for signature 'gseaResult'
ridgeplot(
  x,
  showCategory = 30,
  fill = "p.adjust",
  core_enrichment = TRUE,
  label_format = 30
)

ridgeplot.gseaResult(
  x,
  showCategory = 30,
  fill = "p.adjust",
  core_enrichment = TRUE,
  label_format = 30
)

Arguments

x

gseaResult object

showCategory

number of categories for plotting

fill

one of "pvalue", "p.adjust", "qvalue"

core_enrichment

whether only using core_enriched genes

label_format

a numeric value sets wrap length, alternatively a custom function to format axis labels. by default wraps names longer that 30 characters

Value

ggplot object

Author(s)

Guangchuang Yu

Examples

library(DOSE)
data(geneList)
x <- gseDO(geneList)
ridgeplot(x)

enrichplot

Visualization of Functional Enrichment Result

v1.10.2
Artistic-2.0
Authors
Guangchuang Yu [aut, cre] (<https://orcid.org/0000-0002-6485-8781>), Erqiang Hu [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.