set_module_edges: Internal function used to set the edges in a module

Description Usage Arguments Value

View source: R/modules.R

Description

Internal function used to set the edges in a module

Usage

1
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.


SeqNet documentation built on July 9, 2021, 9:08 a.m.