plot_gsva_pca: plot_gsva_pca

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2
3
4
5
6
# 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)

ReactomeGSA documentation built on April 17, 2021, 6:01 p.m.