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

rba_reactome_pathways_events

Get Events Contained in an Upstream Events


Description

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 provided event ID (or an attribute of that events).

Usage

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

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). Refer to rba_options's arguments documentation for more information on available options.

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.

Value

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

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

rba_reactome_pathways_events(event_id = "R-HSA-5673001")


rba_reactome_pathways_events(event_id = "R-HSA-5673001",
    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.