Learn R Programming

lpbrim (version 1.0.0)

findModules: Find modules

Description

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

Usage

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

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

Run the code above in your browser using DataLab