plot_gsva_pca: plot_gsva_pca

plot_gsva_pcaR Documentation

plot_gsva_pca

Description

Runs a Principal Component analysis (using prcomp) on the samples based on the pathway analysis results.

Usage

plot_gsva_pca(object, pathway_ids = NULL, ...)

Arguments

object

A ReactomeAnalysisResult object containing a ssGSEA result

pathway_ids

A character vector of pathway ids. If set, only these pathways will be used for the PCA analysis.

...

Additional paramters passed to specific implementations.

Value

A ggplot2 object representing the plot.

Examples

# load the scRNA-seq example data
library(ReactomeGSA.data)
data(jerby_b_cells)

# perform the GSVA analysis
gsva_result <- analyse_sc_clusters(jerby_b_cells, verbose = FALSE)

reactome/ReactomeGSA documentation built on Nov. 13, 2023, 11:13 p.m.