ggGSEA: plot the gsea result

View source: R/richGSEA.R

ggGSEAR Documentation

plot the gsea result

Description

plot the gsea result

Usage

ggGSEA(term, object, gseaRes, top = 10, default = TRUE)

Arguments

term

the significant term

object

Annot object

gseaRes

GSEAResult object

top

number of top pathways to display

default

whether to use default table plot or individual enrichment plots

Author(s)

Kai Guo

Examples

## Not run: 
set.seed(123)
hsako<-buildAnnot(species="human",keytype="SYMBOL",anntype = "KEGG")
name=sample(unique(hsako$GeneID),1000)
gene<-rnorm(1000)
names(gene)<-name
res<-richGSEA(gene,object = hsako)
ggGSEA(term = res$pathway, object = hsako, gseaRes = res, default = FALSE)

## End(Not run)

guokai8/richR documentation built on June 10, 2025, 4:51 a.m.