Skip to contents

This function finds local modularity (NQ) in an upper triangular adjacency matrix.

Usage

# S3 method for LocalModularity
compute(adj, mod)

Arguments

adj

Required. An n x n upper triangular adjacency in the matrix class format.

mod

Required. An n x 3 dimensional data frame with column names as Gene.ID, moduleNumber, and moduleLabel.

Value

NQ = local modularity index.