Skip to contents

If you have a JSON file of analysis results (only obtained via rba_reactome_analysis_download with the result argument set to "results", or "results_gz"), you can import the results back to Reactome and retrieve a token.
This is useful when you want to use other Reactome services which require a token but you do not have a token or your token has been expired (i.e. more than 7 days passed from your analysis).

Usage

rba_reactome_analysis_import(input, input_format = NULL, ...)

Arguments

input

Character: A local file path or HTTP or HTTPS URL that points to plain or gzipped saved analysis results.

input_format

Character: (optional) This function will automatically identify your supplied input's format. To be explicit, set this argument to one of:

  • "file": If you supplied a local file path pointing to the saved results file.

  • "url": If you supplied an HTTP or HTTPS URL pointing to the saved results file.

An explicit value takes precedence. Otherwise, HTTP and HTTPS addresses are identified before existing local files. Other inputs are rejected.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

A list containing the new token and other information of your imported results.

Corresponding API Resources

"POST https://reactome.org/AnalysisService/import/form"
"POST https://reactome.org/AnalysisService/import/url"

References

  • Ragueneau, E., Gong, C., Sinquin, P., Sevilla, C., Beavers, D., Grentner, A., ... D’Eustachio, P. (2026). The Reactome Knowledgebase 2026. Nucleic Acids Res., 54(D1), D673–D681. doi: 10.1093/nar/gkaf1223

  • Griss, J., Viteri, G., Sidiropoulos, K., Nguyen, V., Fabregat, A., & Hermjakob, H. (2020). ReactomeGSA—Efficient Multi-Omics Comparative Pathway Analysis. Molecular & Cellular Proteomics, 19(12), 2115–2125. doi: 10.1074/mcp.TIR120.002155

  • Reactome Analysis Services API Documentation

  • Citations note on Reactome website

Examples

if (FALSE) { # \dontrun{
rba_reactome_analysis_import("c:/rbioapi/res.json")
} # }
if (FALSE) { # \dontrun{
rba_reactome_analysis_import("https://qaz.com/res.json.gz")
} # }