determine interaction type of path

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.