plot_correlations: plot_correlations

Description Usage Arguments Value See Also Examples

Description

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).

Usage

1
plot_correlations(x, hide_non_sig = FALSE)

Arguments

x

ReactomeAnalysisResult. The result object to use as input

hide_non_sig

If set, non-significant pathways are not shown.

Value

A list of ggplot2 plot objects representing one plot per combination

See Also

Other ReactomeAnalysisResult functions: get_result(), names,ReactomeAnalysisResult-method, open_reactome(), pathways(), plot_gsva_heatmap(), plot_gsva_pathway(), plot_volcano(), reactome_links(), result_types()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 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]])`

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