plot_correlations | R Documentation |
Plots correlations of the average fold-changes of all pathways between the different datasets. This function is only available to GSA based results (not GSVA ones).
plot_correlations(x, hide_non_sig = FALSE)
x |
ReactomeAnalysisResult. The result object to use as input |
hide_non_sig |
If set, non-significant pathways are not shown. |
A list of ggplot2 plot objects representing one plot per combination
Other ReactomeAnalysisResult functions:
get_result()
,
names,ReactomeAnalysisResult-method
,
open_reactome()
,
pathways()
,
plot_gsva_heatmap()
,
plot_gsva_pathway()
,
plot_heatmap()
,
plot_volcano()
,
reactome_links()
,
result_types()
# load an example result
library(ReactomeGSA.data)
data(griss_melanoma_result)
# create the correlation plots
plot_objs <- plot_correlations(griss_melanoma_result)
# only one plot created for this result as it contains two datasets
length(plot_objs)
# show the plot using `print(plot_objs[[1]])`
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.