get_edge_weights_from_module: Get edge weights.

View source: R/modules.R

get_edge_weights_from_moduleR 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)

SeqNet documentation built on Oct. 10, 2026, 5:06 p.m.