set_method-ReactomeAnalysisRequest-method: set_method - ReactomeAnalysisRequest

set_method,ReactomeAnalysisRequest-methodR Documentation

set_method - ReactomeAnalysisRequest

Description

Set the analysis method used by the ReactomeAnalysisRequest

Usage

## 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

# 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 Nov. 13, 2023, 11:13 p.m.