set_method-ReactomeAnalysisRequest-method: set_method - ReactomeAnalysisRequest

Description Usage Arguments Value Examples

Description

Set the analysis method used by the ReactomeAnalysisRequest

Usage

1
2
## S4 method for signature 'ReactomeAnalysisRequest'
set_method(request, method, ...)

Arguments

request

The ReactomeAnalysisRequest to adjust

method

The name of the method to use. Use get_reactome_methods to retrieve all available methods

...

Additional parameters passed to specific implementations

Value

The ReactomeAnalysisRequest with the adapted method

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# create a request using Camera as an analysis
data(griss_melanoma_proteomics)
library(methods)

my_request <- ReactomeAnalysisRequest(method = "Camera")

print(my_request)

# change the method to ssGSEA
my_request <- set_method(my_request, "ssGSEA")

print(my_request)

reactome/ReactomeGSA documentation built on June 9, 2021, 10:07 a.m.