plot_correlations,ReactomeAnalysisResult-method {ReactomeGSA}R 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)

Arguments

x

ReactomeAnalysisResult. The result object to use as input

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

[Package ReactomeGSA version 1.0.0 Index]