network_gen | R Documentation |
Multiplex Network Generation
network_gen(N_nodes = 100, N_var_nodes = 5, N_var_nei = 90, noise_sd = 0.1)
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 |
In this script we generate random pairs of gene co-expression networks, which are different only in a few (pre-set) number of nodes.
No return value, called to plot subgraphs
myNet = network_gen(N_nodes = 100) graphData = myNet[["data_graph"]] varNodes = myNet[["var_node_set"]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.