matchPrecedingAndFollowingEvents {ReactomeGraph4R} | R Documentation |
This method can find preceding and following ReactionLikeEvents (RLEs) of a
specific Event with the relationship 'precedingEvent'.
The argument "depth" is used to describe the "variable length relationships"
in Neo4j, default is 1 (i.e. immediately connected); or you can set
all.depth = TRUE
to retrieve the whole context.
matchPrecedingAndFollowingEvents( event.id = NULL, event.displayName = NULL, species = NULL, depth = 1, all.depth = FALSE, type = c("row", "graph") )
event.id |
stId/dbId of an Event |
event.displayName |
displayName of an Event |
species |
name or taxon id or dbId or abbreviation of specified species |
depth |
number of depths |
all.depth |
if set to |
type |
to return results as a list of dataframes ('row'), or as a graph object ('graph') |
preceding/following Events connected to the given Event in specified depth(s), default depth = 1
Other match:
matchDiseases()
,
matchHierarchy()
,
matchInteractors()
,
matchObject()
,
matchPEroles()
,
matchPaperObjects()
,
matchReactionsInPathway()
,
matchReferrals()
stId <- "R-HSA-983150" # matchPrecedingAndFollowingEvents(event.id=stId, depth=2, type="row")