get_result-ReactomeAnalysisResult-method: ReactomeAnalysisResult - get_result

get_result,ReactomeAnalysisResult-methodR Documentation

ReactomeAnalysisResult - get_result

Description

Retrieves a result from a ReactomeAnalysisResult object.

Usage

## S4 method for signature 'ReactomeAnalysisResult'
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. 9, 2024, 10:56 a.m.