ggGSEA: plot the gsea result

View source: R/richGSEA.R

ggGSEAR Documentation

plot the gsea result

Description

plot the gsea result

Usage

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

Arguments

x

a vector include all log2FC with gene name

term

the significant term

object

Annot object

gseaRes

GSEAResult object

info

Term with annotation details

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(gene,term = res$pathway,object = hsako,gseaRes = res,default = F)

## End(Not run)

hurlab/RichR documentation built on Feb. 5, 2024, 8:07 p.m.