get_edge_weights_from_module {SeqNet}R Documentation

Get edge weights.

Description

Get edge weights.

Usage

get_edge_weights_from_module(module)

Arguments

module

The 'network_module' object to get edge weights for.

Value

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.

Examples

nw <- random_network(10)
nw <- gen_partial_correlations(nw)
module <- nw$modules[[1]]
get_edge_weights_from_module(module)

[Package SeqNet version 1.1.3 Index]