findModules: Find modules

Description Usage Arguments Examples

View source: R/findModules.r

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)

lpbrim documentation built on May 29, 2017, 11:31 a.m.

Related to findModules in lpbrim...