Function "computeModules"
Description
This function takes a bipartite weighted graph and computes modules by applying M. E. J. Newman's modularity measure in a bipartite weighted version to it. During the computation files are written onto the hard drive disk. These files are by default deleted after the computation terminates. Details of the modularity algorithm can be found in Dormann \& Strauß (2013).
Usage
1 2  computeModules(web, deep = FALSE, deleteOriginalFiles = TRUE,
steps = 1000000, tolerance = 1e10, experimental = FALSE)

Arguments
web 

deep 
If 
deleteOriginalFiles 
If 
steps 

tolerance 
How small should the difference between MCMCswap results be? At some point computer precision fluctuations make the algorithm fail to converge, which is why we choose a (very low) defaults of 1E10. 
experimental 
Logical; using an undescribed and untested version for which no detail is available? (We suggest: not yet.) 
Value
An object of class "moduleWeb" containing information about the computed modules. For details, please refer to the corresponding documentation file.
Note
For perfectly compartmentalised networks the algorithm may throw an error message. Please add a little bit of noise (e.g. uniform between 0 and 1 or so) and it will work again.
Author(s)
Rouven Strauss, with fixes by Carsten Dormann and Tobias Hegemann
References
Dormann, C. F., and R. Strauß. 2013. Detecting modules in quantitative bipartite networks: the QuaBiMo algorithm. arXiv [qbio.QM] 1304.3218.
Newman M.E.J. 2004. Physical Review E 70 056131
See Also
See also class "moduleWeb", function "listModuleInformation", function "printoutModuleInformation".
Examples
1 2 3 4 5 6  ## Not run:
data(small1976)
(res < computeModules(small1976)) # takes several minutes!
plotModuleWeb(res)
## End(Not run)
