plot_correlations-ReactomeAnalysisResult-method: plot_correlations - ReactomeAnalysisResult

plot_correlations,ReactomeAnalysisResult-methodR Documentation

plot_correlations - ReactomeAnalysisResult

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

## S4 method for signature 'ReactomeAnalysisResult'
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_heatmap(), plot_volcano(), reactome_links(), result_types()

Examples

# 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]])`

reactome/ReactomeGSA documentation built on Nov. 13, 2023, 11:13 p.m.