ggGSEA | R Documentation |
plot the gsea result
ggGSEA(term, object, gseaRes, top = 10, default = TRUE)
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 |
Kai Guo
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.