masterPCAPlot {escape} | R Documentation |
Graph the major gene set contributors to the pcaEnrichment
.
masterPCAPlot(enriched, PCx, PCy, top.contribution = 10)
enriched |
The output of |
PCx |
The principal component graphed on the x-axis. |
PCy |
The principal component graphed on the y-axis. |
top.contribution |
The number of gene sets to graph, organized by PCA contribution. |
ggplot2 object sumamrizing the PCA for the enrichment scores
enrichIt
for generating enrichment scores.
ES2 <- readRDS(url( "https://ncborcherding.github.io/vignettes/escape_enrichment_results.rds")) masterPCAPlot(ES2, PCx = "PC1", PCy = "PC2", top.contribution = 10)