get_result: get_result

get_resultR Documentation

get_result

Description

Retrieves a result from a ReactomeAnalysisResult object.

Usage

get_result(x, type, name)

Arguments

x

ReactomeAnalysisResult.

type

the type of result. Use result_types to retrieve all available types.

name

the name of the result. Use names to retrieve all available results.

Value

A data.frame containing the respective result.

See Also

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

Examples

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

# get the available result types
result_types(griss_melanoma_result)

# get the dataset names
names(griss_melanoma_result)

# get the fold_changes for the first dataset
prot_fc <- get_result(griss_melanoma_result, type = "fold_changes", name = "proteomics")

head(prot_fc)

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