plotES | R Documentation |
Plot GSEA style enrichment score curve.
plotES(
TFEAresults,
TF,
outfolder = ".",
xlab = "rank",
ylab = "Enrichment",
resolution = 500L,
device = "pdf",
...
)
TFEAresults |
A TFEAresults object. Output of TFEA. |
TF |
A character vector. The transcription factor names. |
outfolder |
character(1). Output file path. |
xlab , ylab |
character string giving label for x-axis/y-axis. |
resolution |
integer(1). The number of bars plotted in the bottom of figure to show the density of occurrence of events. |
device |
Device to use. Can be one of "eps", "ps", "tex" (pictex), "pdf", "jpeg", "tiff", "png", "bmp", "svg" or "wmf" (windows only). |
... |
parameter passed to ggsave. |
NULL if outfolder is set or ggplot object.
res <- system.file("extdata", "res.rds", package="ATACseqTFEA")
res <- readRDS(res)
g <- plotES(res, TF="KLF9", outfolder=NA)
g
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.