This function finds Function to find global modularity (Q) of a upper triangular adjacency matrix.
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')