masterPCAPlot: Visualize the components of the PCA analysis of the...

Description Usage Arguments Value See Also Examples

View source: R/visualizations.R

Description

Graph the major gene set contributors to the pcaEnrichment.

Usage

1
masterPCAPlot(enriched, PCx, PCy, top.contribution = 10)

Arguments

enriched

The output of enrichIt.

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.

Value

ggplot2 object sumamrizing the PCA for the enrichment scores

See Also

enrichIt for generating enrichment scores.

Examples

1
2
3
ES2 <- readRDS(url(
"https://ncborcherding.github.io/vignettes/escape_enrichment_results.rds"))
masterPCAPlot(ES2, PCx = "PC1", PCy = "PC2", top.contribution = 10)

escape documentation built on Nov. 8, 2020, 8:21 p.m.