AddWeightsToEdges {CausalR}R Documentation

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


[Package CausalR version 1.20.0 Index]