matchHierarchy {ReactomeGraph4R} | R Documentation |
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).
matchHierarchy( id = NULL, displayName = NULL, databaseName = "Reactome", species = NULL, type = c("row", "graph") )
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') |
hierarchical instances of the given id and databaseName
Other match:
matchDiseases()
,
matchInteractors()
,
matchObject()
,
matchPEroles()
,
matchPaperObjects()
,
matchPrecedingAndFollowingEvents()
,
matchReactionsInPathway()
,
matchReferrals()
## 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")