ridgeplot: ridgeplot

Description Usage Arguments Value Author(s) Examples

Description

ridgeline plot for GSEA result

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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

1
2
3
4
library(DOSE)
data(geneList)
x <- gseDO(geneList)
ridgeplot(x)

enrichplot documentation built on Jan. 30, 2021, 2:01 a.m.