matchHierarchy: MATCH hierarchy

View source: R/queries.R

matchHierarchyR Documentation

MATCH hierarchy

Description

Reactome data are organized in a hierarchical way: Pathway-Reaction-Entity. This function retrieves the hierarchical data of a given Event (Pathway or Reaction) or Entity (PhysicalEntity or ReferenceEntity).

Usage

matchHierarchy(
  id = NULL,
  displayName = NULL,
  databaseName = "Reactome",
  species = NULL,
  type = c("row", "graph")
)

Arguments

id

stId or dbId of an Event/Entity; or an external id

displayName

displayName of Event/PhysicalEntity/ReferenceEntity

databaseName

database name

species

name or taxon id or dbId or abbreviation of specified species

type

return results as a list of dataframes ('row'), or as a graph object ('graph')

Value

hierarchical instances of the given id and databaseName

See Also

Other match: matchDiseases(), matchInteractors(), matchObject(), matchPEroles(), matchPaperObjects(), matchPrecedingAndFollowingEvents(), matchReactionsInPathway(), matchReferrals()

Examples

## use the Reactome displayName of a UniProt object
uniprot.name <- "UniProt:P04637 TP53"
# matchHierarchy(displayName=uniprot.name, 
#                databaseName="UniProt", type="row")
# matchHierarchy(id="R-HSA-1369062", type="graph")

reactome/ReactomeGraph4R documentation built on May 15, 2023, 8:45 p.m.