get_edge_weights_from_module {SeqNet} | R Documentation |
Get edge weights.
get_edge_weights_from_module(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.
nw <- random_network(10)
nw <- gen_partial_correlations(nw)
module <- nw$modules[[1]]
get_edge_weights_from_module(module)