plot_overallGSEA | R Documentation |
This function would generate bar plot for GSEA results
plot_overallGSEA(gsea_res, x = "Description", y = "NES")
gsea_res |
Default dataset to use for plot. |
x |
Default x of aesthetic mappings to use for plot. Generally, it is Description for enrichment pathway. |
y |
Default y of aesthetic mappings to use for plot. Generally, it is NES. |
a ggplot2 object
## Not run: data(geneList, package="DOSE") geneChangeList <- sort(geneList, decreasing = TRUE) ego <- gseGO(geneChangeList, ont="BP",OrgDb=org.Hs.eg.db,eps=0) ego <- setReadable(ego, OrgDb =org.Hs.eg.db) data <- ego[127:147,1:9] print(overallGSEA(data,"Description","NES")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.