add weights to edges

Description

Adds weight information to the edges of given network (1 for activation and -1 for inhibition)

Usage

1
AddWeightsToEdges(network, tableOfInteractions)

Arguments

network

an igraph constructed from the original .sif file

tableOfInteractions

a column of the corresponding .sif file indicating the direction of activation/interaction

Value

an augmented network

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