network_gen {PLEXI} | R 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"]]
[Package PLEXI version 1.0.0 Index]