set_parameters: set_parameters

Description Usage Arguments Details Value Examples

Description

Sets the analysis parameters for the given ReactomeAnalysisRequest. If the parameter is already set, it is overwritten. Use get_reactome_methods to get a list of all available parameters for each available method.

Usage

1
set_parameters(request, ...)

Arguments

request

The ReactomeAnalysisRequest to set the parameters for.

...

Any name / value pair to set a parameter (see example). For a complete list of available parameters use get_reactome_methods

Details

Both, parameters with the scope "dataset" as well as "analysis" can be set on the analysis level. In this case, these parameters overwrite the system's default values. If a parameter with the scope "dataset" is defined again at the dataset level, this value will overwrite the analysis' scope value for the given dataset.

Value

The modified ReactomeAnalysisRequest object

Examples

1
2
3
4
5
6
7
library(methods)

# create a request object
request <- ReactomeAnalysisRequest(method = "Camera")

# add a parameter
request <- set_parameters(request, max_missing_values = 0.5, discrete_norm_function = "TMM")

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