compute.Modularity: Find Global Modularity (Q)

View source: R/compute.Modularity.R

compute.ModularityR Documentation

Find Global Modularity (Q)

Description

This function finds Function to find global modularity (Q) of a upper triangular adjacency matrix.

Usage

compute.Modularity(adj, mod, method = "Newman1")

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.

method

Optional. If 'Newman1' is specified modularity is instituded in as-per the Clauset, Newman model in the function igraph::graph.modularity() (Default = 'Newman1')

Value

Q = modularity index.


Sage-Bionetworks/metanetwork documentation built on April 27, 2022, 7:42 a.m.