plotGSEA | R Documentation |
fgsea::fgsea()
The plotGSEA
function visualizes the results of a GSEA (Gene Set Enrichment Analysis) using data from
the fgsea
package. It generates a composite plot that includes an enrichment plot and a ranked metric plot.
plotGSEA(fgseaRes, pathways, pwayname, stats, save = FALSE)
fgseaRes |
A data table containing the GSEA results from the |
pathways |
A list of all pathways used in the GSEA analysis. |
pwayname |
The name of the pathway to visualize. |
stats |
A numeric vector representing the ranked statistics. |
save |
A logical value indicating whether to save the plot as a PDF file. Default is |
ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.