Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rba_reactome_query

Query and Retrieve any Reactome knowledge-base Object


Description

Using this Comprehensive function, You can Retrieve any object from Reactome knowledge-base

Usage

rba_reactome_query(
  ids,
  enhanced = FALSE,
  map = FALSE,
  attribute_name = NA,
  ...
)

Arguments

ids

A single or Multiple database IDs (DbId), Stable IDs (StId) or a mixture of both.

enhanced

Logical: (Default = FALSE) If 'TRUE' more information on the provided entry will be returned. (You can set this argument to 'TRUE' Only when you provide a single ID).

map

(Default = FALSE) Should the provided IDs be mapped? This argument will only be considered when you provide multiple IDs. (e.g. when you provide previous version of stable identifiers.)

attribute_name

(Optional) Only Return an Attribute of the provided Database Object. (You can use this argument Only when you provide a single ID)

...

rbioapi option(s). Refer to rba_options's arguments documentation for more information on available options.

Value

List containing your query outputs.

Corresponding API Resources

"POST https://reactome.org/ContentService/data/query/ids"
"POST https://reactome.org/ContentService/data/query/ids/map"
"GET https://reactome.org/ContentService/data/query/id"
s"GET https://reactome.org/ContentService//data/query/enhanced/id"
"GET https://reactome.org/ContentService/data/query/id/attributeName"

References

  • Jassal B, Matthews L, Viteri G, Gong C, Lorente P, Fabregat A, Sidiropoulos K, Cook J, Gillespie M, Haw R, Loney F, May B, Milacic M, Rothfels K, Sevilla C, Shamovsky V, Shorser S, Varusai T, Weiser J, Wu G, Stein L, Hermjakob H, D'Eustachio P. The reactome pathway knowledgebase. Nucleic Acids Res. 2020 Jan 8;48(D1):D498-D503. doi: 10.1093/nar/gkz1031. PubMed PMID: 31691815.

  • Reactome Content Services API Documentation

Examples

rba_reactome_query(ids = c("8953958", "11982506", "R-ALL-9649879"))


rba_reactome_query(ids = "R-HSA-9656256", enhanced = TRUE)


rba_reactome_query(ids = "8863054", attribute_name = "displayName")

rbioapi

User-Friendly R Interface to Biologic Web Services' API

v0.7.0
GPL-3
Authors
Moosa Rezwani [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.