Find modules

Share:

Description

This function takes a matrix, and performs a search for the best partition in modules.

Usage

1
findModules(M, iter = 50, sparse = TRUE, ...)

Arguments

M

An adjacency matrix

iter

Number of optimization runs to do

sparse

Whether the matrix should be made sparse

...

Other arguments

Examples

1
2
3
M <- matrix(rbinom(100, 1, 0.3), ncol=10)
M <- M[rowSums(M)>0, colSums(M)>0]
mod <- findModules(M, iter=2, sparse=FALSE)