DetermineInteractionTypeOfPath: determine interaction type of path

Description Usage Arguments Value

View source: R/DetermineInteractionTypeOfPath.r

Description

Determines the sign of a given path. Given a path and through the network, this function will determine if the path results in activation or inhibition. Activation is indicated by 1, inhibition by -1

Usage

1
DetermineInteractionTypeOfPath(network, nodesInPath)

Arguments

network

an igraph representing the network

nodesInPath

an ordered list of the nodes visited on the path - note that these contain numbers which use R's internal reference to the edges

Value

a signed integer representing the paths sign


CausalR documentation built on Nov. 8, 2020, 5:25 p.m.