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
25
26
27
28
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,
  orderBy = "NES",
  decreasing = FALSE
)

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.

...

additional parameters by default wraps names longer that 30 characters

orderBy

The order of the Y-axis

decreasing

logical. Should the orderBy order be increasing or decreasing?

Value

ggplot object

Author(s)

Guangchuang Yu

Examples

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

GuangchuangYu/enrichplot documentation built on Aug. 31, 2021, 7:48 p.m.