open_reactome-ReactomeAnalysisResult-method: open_reactome - ReactomeAnalysisResult

open_reactome,ReactomeAnalysisResult-methodR Documentation

open_reactome - ReactomeAnalysisResult

Description

Opens the specified Reactome visualization in the system's default browser.

Usage

## S4 method for signature 'ReactomeAnalysisResult'
open_reactome(x, n_visualization = 1, ...)

Arguments

x

ReactomeAnalysisResult.

n_visualization

numeric The index of the visualization to display (default 1). Use reactome_links to retrieve all available visualizations and their index. By default, the first visualization is opened.

...

Additional parameters passed to downstream functions.

Value

The opened link

See Also

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

Examples

# Note: This function only works with a newly created result
# since the visualization links only stay active for 7 days

# load an example result
library(ReactomeGSA.data)
data(griss_melanoma_result)

# get the reactome link - this does only work
# with new results
# open_reactome(griss_melanoma_result)

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