network_gen: Multiplex Network Generation

View source: R/network_gen.R

network_genR Documentation

Multiplex Network Generation

Description

Multiplex Network Generation

Usage

network_gen(n.nodes = 100, n.var.nodes = 5, n.var.nei = 90, noise.sd = 0.1)

Arguments

n.nodes

number of nodes in the graph

n.var.nodes

number of nodes whose neighborhood should change from layer 1 to 2

n.var.nei

number of neighbors that should be changing from layer 1 to 2

noise.sd

the standard deviation of the noise added to the edge weights

Details

In this script we generate random pairs of gene co-expression networks, which are different only in a few (pre-set) number of nodes.

Value

No return value, called to plot subgraphs

Examples

myNet = network_gen(n.nodes = 100)
graphData = myNet[["data_graph"]]
varNodes = myNet[["var_node_set"]]


PLEXI documentation built on Aug. 9, 2023, 5:08 p.m.

Related to network_gen in PLEXI...