getPathways {ReactomeContentService4R} | R Documentation

## Pathway related queries

### Description

To get the Events that contain the given PhysicalEntity or Event (i.e. subpathway).

### Usage

    getPathways(id, species = NULL, allForms = FALSE, top.level = FALSE)

### Arguments

`id` | a stable or db id of a PhysicalEntity or Event present in the pathways
`species` | name or taxon id or dbId or abbreviation of species
`allForms` | if set to `TRUE`, all low level pathways that contain the given PhysicalEntity (not Event) in all forms returned
`top.level` | if set to `TRUE`, only top-level pathways returned

### Value

a dataframe containing requested pathways

### See Also

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

### Examples

    getPathways("R-HSA-199420", "Homo sapiens")

[Package ReactomeContentService4R version 1.0.0 Index]