get_result-ReactomeAnalysisResult-method: ReactomeAnalysisResult - get_result

Description Usage Arguments Value See Also Examples

Description

Retrieves a result from a ReactomeAnalysisResult object.

Usage

1
2
## 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_volcano(), reactome_links(), result_types()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# 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)

ReactomeGSA documentation built on April 17, 2021, 6:01 p.m.