getEventsHierarchy {ReactomeContentService4R} | R Documentation

## EventsHierarchy queries

### Description

Events (Pathways and Reactions) in Reactome are organized in a hierarchical structure for every species. By following all `hasEvent` relationships, this method retrieves the full event hierarchy for any given main species.

### Usage

    getEventsHierarchy(main.species)

### Arguments

`main.species` | name or taxon/db id or abbreviation of main species in Reactome

### Value

a nested dataframe containing full event hierarchy for a given main species

### See Also

`getSpecies` to get the main species list

Other getContent: `getEntities()`, `getOrthology()`, `getParticipants()`, `getPathways()`, `getPerson()`, `getSchemaClass()`, `getSpecies()`, `query()`

### Examples

    ## Not run:
    getEventsHierarchy("chicken")
    getEventsHierarchy("XTR")

    ## End(Not run)

[Package ReactomeContentService4R version 1.0.0 Index]