ridgeplot | R Documentation |
ridgeline plot for GSEA result
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
)
x |
gseaResult object |
showCategory |
A number or a vector of terms. If it is a number, the first n terms will be displayed. If it is a vector of terms, the selected terms will be displayed. |
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? |
ggplot object
Guangchuang Yu
library(DOSE)
data(geneList)
x <- gseDO(geneList)
ridgeplot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.