weightedGraph: Generate the weighted igraph object

Description Usage Arguments Value

Description

This function generate the igraph object based on the given interactions. The weight of each edge is determined as the heat differences between the two interacting vertices.

Usage

1
weightedGraph(links = interactions_brain, directed = FALSE, heat = NULL)

Arguments

links

A two-column matrix or data frame, with each row representing one interaction

directed

Whether the interactions are directed

heat

A numeric vector representing vertices' heat

Value

A igraph object representing the interaction network. Edges are weighted accordingly


maplesword/TOMRwModule documentation built on May 31, 2019, 1:16 p.m.