ESvolcanoplot: Plot enrichment score for one transcription factor

View source: R/volcanoplot.R

ESvolcanoplotR Documentation

Plot enrichment score for one transcription factor

Description

Plot GSEA style enrichment score curve.

Usage

ESvolcanoplot(
  TFEAresults,
  xlab = "Enrichment Score",
  ylab = "-log10(p value)",
  TFnameToShow = 20,
  significantCutoff = 0.05,
  col = c("red", "blue", "gray"),
  ...
)

Arguments

TFEAresults

A TFEAresults object. Output of TFEA.

xlab, ylab

character string giving label for x-axis/y-axis.

TFnameToShow

Transcription factor names to be drawn.

significantCutoff

Cutoff value for significant.

col

Color sets for the points.

...

parameter passed to pdf.

Value

ggplot object.

Examples

res <- system.file("extdata", "res.rds", package="ATACseqTFEA")
res <- readRDS(res)
ESvolcanoplot(TFEAresults=res)

jianhong/ATACseqTFEA documentation built on Nov. 5, 2024, 9:46 a.m.