View source: R/geom_gseaGradient.R
geom_gseaGradient | R Documentation |
Imports: ggplot2
geom_gseaGradient(df, ...)
df |
data.frame, calculated by the function gseaCurve |
... |
Other arguments passed on to |
uses the ggplot2::layer function, with geom="rect"
a ggplot layer that can be added to a ggplot object
library(gggsea)
library(ggplot)
curve <- gseaCurve(myRankedlist, mySetlist)
ggplot() + geom_gseaGradient(curve) + theme_gsea()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.