set_module_edges {SeqNet}R Documentation

Internal function used to set the edges in a module

Description

Internal function used to set the edges in a module

Usage

set_module_edges(module, edges)

Arguments

module

The 'network_module' object to modify.

edges

A matrix used to indicate the edges in the module. If the matrix is square and contains the same number of rows and columns as nodes in the module, then it is assumed to be an adjacency matrix and the nonzero lower-triangle values of the matrix are used to indicate edges in the module. If the matrix is not square, the first two columns are assumed to be an edge list.

Value

The modified 'network_module' object.


[Package SeqNet version 1.1.3 Index]