ggGSEA | R Documentation |
plot the gsea result
ggGSEA(x, term, object, gseaRes = gseaRes, top = 10, default = TRUE)
x |
a vector include all log2FC with gene name |
term |
the significant term |
object |
Annot object |
gseaRes |
GSEAResult object |
info |
Term with annotation details |
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(gene,term = res$pathway,object = hsako,gseaRes = res,default = F)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.