A Reactome Event could be comprised of other events (meaning, a pathway that include other pathways itself). Use this function to recursively return all the events which reside downstream of your supplied event ID (or an attribute of that events).

rba_reactome_pathways_events(event_id, attribute_name = NULL, ...)

Arguments

event_id

Reactome event's database ID (DbId) or Stable ID (StId).

attribute_name

An attribute of the events to be returned instead of the whole events. see Reactome Data Schema: Event for available options.

...

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

Value

Data frame where each row is a contained event and columns are event's attributes. If an "attribute_name" argument was supplied, a character vector will be returned.

Details

By Reactome's definition, Events are the building blocks of biological processes and could be of two main classes: "Pathway" or "Reaction-like events". The events are organized in a hierarchical structure; and each event could be child or parent to another event; The hierarchy will always begin with a "Top level pathway" event. Also note that a given event could be part of more that one hierarchies.

Corresponding API Resources

"GET https://reactome.org/ContentService/data/pathway/id/ containedEvents"
"GET https://reactome.org/ContentService/data/pathway/id/ containedEvents/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

See also

Other "Reactome Content Service - Pathway Related Queries": rba_reactome_pathways_low(), rba_reactome_pathways_top()

Examples

# \donttest{
rba_reactome_pathways_events(event_id = "R-HSA-5673001")
# }
# \donttest{
rba_reactome_pathways_events(event_id = "R-HSA-5673001",
    attribute_name = "displayName")
# }