ContainedEvents: Pathway related queries

Description Usage Arguments Details Value Examples

Description

This method recursively retrieves all the events contained in any given event.

Usage

1
rtContainedEvents(id, attributeNames = NULL, silent = FALSE)

Arguments

id

string. The event for which the contained events are requested.

attributeNames

string or character vector. if NULL, the default, all properties of the contained evnets will be returned;otherwise, just retrieve those attributes in attributeNames list.

silent

logical; if TRUE, error message is not printed. default = false

Details

Events are the building blocks used in Reactome to represent all biological processes, and they include pathways and reactions. Typically, an event can contain other events. For example, a pathway can contain smaller pathways and reactions.

Value

a data frame.

Examples

1
2
3
4
5
6
# retrieve some attributes of the contained events
multi.Attr.event = rtContainedEvents(id = "R-HSA-5673001",
                   attributeNames = c("stId", "name"), silent = FALSE)
# get all the properties
all.Attr.event = rtContainedEvents(id = "R-HSA-5673001",
                 attributeNames = NULL, silent = FALSE)

VonWebEinstein/ReactomeAPI documentation built on May 9, 2019, 10:02 p.m.