get_reactome_methods | R Documentation |
Returns all available analysis methods from the Reactome analysis service.
get_reactome_methods(
print_methods = TRUE,
print_details = FALSE,
return_result = FALSE,
method = NULL,
reactome_url = NULL
)
print_methods |
If set to |
print_details |
If set to |
return_result |
If set to |
method |
If set to a method's id, only information for this method will be shown. This is especially useful if
detailed information about a single method should be retrieved. This does not affect the data returned
if |
reactome_url |
URL of the Reactome API Server. Overwrites the URL set in the 'reactome_gsa.url' option. Specific ports can be set using the standard URL specification (for example http://your.service:1234) |
Every method has a type, a scope, and sometimes a list of allowed values. The type (string, int = integer, float) define
the expected data type. The scope defines at what level the parameter can be set. dataset level parameters
can be set at the dataset level (using the add_dataset
function) or at the analysis request level (using
set_parameters
). If these parameters are set at the analysis request level, this overwrites the default
value for all datasets. analysis and global level parameters must only be set at the analysis request level
using set_parameters
. The difference between these two types of parameters is that while analysis
parameters influence the results, global parameters only influence the behaviour of the analysis system (for example
whether a Reactome visualization is created).
If return_result
is set to TRUE
, a data.frame with one row per method. Each method has a name, description, and
(optional) a list of parameters. Parameters again have a name, type, and description.
Johannes Griss
Other Reactome Service functions:
get_reactome_data_types()
# retrieve the available methods only in an object
available_methods <- get_reactome_methods(print_methods = FALSE, return_result = TRUE)
# print all method names
available_methods$name
# list all parameters for the first method
first_method_parameters <- available_methods[1, "parameters"]
first_method_parameters
# simply print the available methods
get_reactome_methods()
# get the details for PADOG
get_reactome_methods(print_details = TRUE, method = "PADOG")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.