matchReactionsInPathway {ReactomeGraph4R} | R Documentation |
This method could find all Reactions connected with a given Pathway by the relationship 'hasEvent'. Also, the input can be a Reaction, the result would then be Pathway(s) linked via 'hasEvent' together with other Reactions linked with the Pathways(s).
matchReactionsInPathway( event.id = NULL, event.displayName = NULL, species = NULL, type = c("row", "graph") )
event.id |
stId or dbId of an Event |
event.displayName |
displayName of an Event |
species |
name or taxon id or dbId or abbreviation of a species |
type |
return results as a list of dataframes ('row'), or as a graph object ('graph') |
Reactions connected to the given Pathway/Reaction via 'hasEvent' relationships
Other match:
matchDiseases()
,
matchHierarchy()
,
matchInteractors()
,
matchObject()
,
matchPEroles()
,
matchPaperObjects()
,
matchPrecedingAndFollowingEvents()
,
matchReferrals()
reaction <- "R-HSA-1369062" # matchReactionsInPathway(event.id=reaction, type="graph") # matchReactionsInPathway("R-HSA-5682285", type="row")