rba_reactome_query {rbioapi}R Documentation

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 = NULL,
  ...
)

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 supplied entry will be returned. (You can set this argument to 'TRUE' Only when you supply a single ID).

map

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

attribute_name

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

...

rbioapi option(s). See rba_options's arguments manual 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}"
"GET https://reactome.org/ContentService/data/query/enhanced/{id}"
"GET https://reactome.org/ContentService/data/query/{id}/{attributeName}"

References

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")



[Package rbioapi version 0.8.1 Index]