alpacaComputeDWBMmatmScale: Differential modularity matrix

View source: R/ALPACA.R

alpacaComputeDWBMmatmScaleR Documentation

Differential modularity matrix

Description

This function computes the differential modularity matrix for weighted bipartite networks. The community structure of the healthy network is rescaled by the ratio of m (the total edge weight) of each network.

Usage

alpacaComputeDWBMmatmScale(edge.mat, ctrl.memb)

Arguments

edge.mat

A table of edges, with the first column representing the TFs ("from" nodes) and the second column representing the targets ("to" nodes). The third column contains the edge weights corresponding to the control or healthy network, and the fourth column contains the edge weights for the disease network or network of interest.

ctrl.memb

The community membership for the control (healthy) network.

Value

The differential modularity matrix, with rows representing "from" nodes and columns representing "to" nodes.

Examples

a <- 1 # place holder

netZoo/netZooR documentation built on Oct. 16, 2024, 10:23 p.m.