matchPrecedingAndFollowingEvents: MATCH the preceding/following Events

View source: R/queries.R

matchPrecedingAndFollowingEventsR Documentation

MATCH the preceding/following Events

Description

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.

Usage

matchPrecedingAndFollowingEvents(
  event.id = NULL,
  event.displayName = NULL,
  species = NULL,
  depth = 1,
  all.depth = FALSE,
  type = c("row", "graph")
)

Arguments

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 TRUE, all RLE(s) connected to the given Event in all depths returned

type

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

Value

preceding/following Events connected to the given Event in specified depth(s), default depth = 1

See Also

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

Examples

stId <- "R-HSA-983150"
# matchPrecedingAndFollowingEvents(event.id=stId, depth=2, type="row")

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