powered by
Get edge weights.
get_edge_weights_from_module(module)
The 'network_module' object to get edge weights for.
A vector containing the weights of each edge. If the edges are unweighted, then a vector of 1's is returned. If there are no edges, in the module, then NULL is returned.
NULL
# NOT RUN { nw <- random_network(10) nw <- gen_partial_correlations(nw) module <- nw$modules[[1]] get_edge_weights_from_module(module) # }
Run the code above in your browser using DataLab