cal_module | R Documentation |
Calculating modularity of networks and assign the modules to nodes for each network.
cal_module(
network_list,
undirected_method = "cluster_fast_greedy",
directed_method = "cluster_optimal",
...
)
network_list |
a list with multiple networks; all the networks should be trans_network object created from |
undirected_method |
default "cluster_fast_greedy"; the modularity algorithm for undirected network;
see |
directed_method |
default 'cluster_optimal'; the modularity algorithm for directed network. |
... |
other parameters (except for method) passed to |
list
, with module attribute in nodes of each network
data(soil_amp_network)
soil_amp_network <- cal_module(soil_amp_network)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.