create_module_from_association_matrix: Create a module from an association matrix

Description Usage Arguments Value Examples

View source: R/modules.R

Description

The edge weights in the module will be set to the corresponding values in the association matrix. The edges are undirected, and only the lower triangle of the matrix is considered. See set_module_weights for more details.

Usage

1
2
3
4
5
create_module_from_association_matrix(
  association_matrix,
  nodes = NULL,
  module_name = NULL
)

Arguments

association_matrix

The association matrix used to create the module.

nodes

A numeric vector indicating which nodes in the network are contained in this module.

module_name

(optional) Character string specifying the name of the module. If NULL, the module will be unnamed.

Value

A 'network_module' object.

Examples

1
2
3
4

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