masterPCAPlot {escape}R Documentation

Visualize the components of the PCA analysis of the enrichment results

Description

Graph the major gene set contributors to the pcaEnrichment.

Usage

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

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


[Package escape version 1.4.0 Index]