Learn R Programming

CausalR (version 1.4.3)

AddWeightsToEdges: add weights to edges

Description

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

Usage

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