plot_gsva_pca,ReactomeAnalysisResult-method | R Documentation |
Runs a Principal Component analysis (using prcomp
) on the samples
based on the pathway analysis results.
## S4 method for signature 'ReactomeAnalysisResult'
plot_gsva_pca(object, pathway_ids = NULL, ...)
object |
A |
pathway_ids |
A character vector of pathway ids. If set, only these pathways will be used for the PCA analysis. |
... |
Additional parameters are passed to |
A ggplot2 object representing the plot.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.