plotGSEA: plot multiple significant pathways

View source: R/richGSEA.R

plotGSEAR Documentation

plot multiple significant pathways

Description

plot multiple significant pathways

Usage

plotGSEA(
  x,
  object,
  gseaRes,
  mycol = NULL,
  top = 10,
  pvalue = 0.05,
  padj = NULL,
  gseaParam = 1,
  ticksSize = 0.2
)

Arguments

x

a vector include all log2FC with gene name

object

Annot object

gseaRes

GSEAResult object

mycol

a vector indicate the colors used for the figure

top

number of terms you want to display,

pvalue

cutoff value of pvalue (if padj set as NULL)

padj

cutoff value of p adjust value

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)
plotGSEA(hsako,res,object = hsako)

## End(Not run)

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