volplot | R Documentation |
volcano plot for enrichment result
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
)
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 |
ggplot object
Guangchuang Yu
library(DOSE)
data(geneList)
de <- names(geneList)[1:100]
x <- enrichDO(de)
volplot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.