volplot: volplot

volplotR Documentation

volplot

Description

volcano plot for enrichment result

Usage

volplot(
  x,
  color = "zScore",
  xintercept = 1,
  yintercept = 2,
  showCategory = 5,
  label_format = 30,
  ...
)

## S4 method for signature 'enrichResult'
volplot(
  x,
  color = "zScore",
  xintercept = 1,
  yintercept = 2,
  showCategory = 5,
  label_format = 30,
  ...
)

volplot.enrichResult(
  x,
  color = "zScore",
  xintercept = 1,
  yintercept = 2,
  showCategory = 5,
  label_format = 30,
  font.size = 12,
  size = 5
)

Arguments

x

enrichment result.

color

selected variable to color the dots

xintercept

value to set x intercept

yintercept

value to set y intercept

showCategory

number of most significant enriched terms or selected terms to display determined by the variable selected to color the dots

label_format

a numeric value sets wrap length, alternatively a custom function to format axis labels.

...

Additional parameters

font.size

font size for 'theme_dose()'

size

font size to label selected categories specified by showCategory

Value

ggplot object

Author(s)

Guangchuang Yu

Examples

library(DOSE)
data(geneList)
de <- names(geneList)[1:100]
x <- enrichDO(de)
volplot(x)

YuLab-SMU/enrichplot documentation built on Sept. 5, 2024, 6:11 a.m.