plot_gsva_pca | R Documentation |
Runs a Principal Component analysis (using prcomp
) on the samples
based on the pathway analysis results.
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 paramters passed to specific implementations. |
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.