random_module: Create a random module

Description Usage Arguments Value Examples

View source: R/modules.R

Description

Create a random module

Usage

1
random_module(nodes, module_name = NULL, ...)

Arguments

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.

...

Additional arguments passed to 'random_module_structure()'.

Value

A 'network_module' object.

Examples

1
module <- random_module(1:10)

tgrimes/SeqNet documentation built on Sept. 1, 2020, 7:50 a.m.