geom_gsea_gene: geom_gsea_gene

View source: R/gseaplot.R

geom_gsea_geneR Documentation

geom_gsea_gene

Description

label genes in running score plot

Usage

geom_gsea_gene(
  genes,
  mapping = NULL,
  geom = ggplot2::geom_text,
  ...,
  geneSet = NULL
)

Arguments

genes

selected genes to be labeled

mapping

aesthetic mapping, default is NULL

geom

geometric layer to plot the gene labels, default is geom_text

...

additional parameters passed to the 'geom'

geneSet

choose which gene set(s) to be label if the plot contains multiple gene sets

Value

ggplot object

Author(s)

Guangchuang Yu


YuLab-SMU/enrichplot documentation built on April 15, 2024, 5:18 p.m.