plotGSEA | R Documentation |
plot multiple significant pathways
plotGSEA(
x,
object,
gseaRes,
mycol = NULL,
top = 10,
pvalue = 0.05,
padj = NULL,
gseaParam = 1,
ticksSize = 0.2
)
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 |
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)
plotGSEA(hsako,res,object = hsako)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.