Package: rSpectral 1.0.0.10
rSpectral: Spectral Modularity Clustering
Implements the network clustering algorithm described in Newman (2006) <doi:10.1103/PhysRevE.74.036104>. The complete iterative algorithm comprises of two steps. In the first step, the network is expressed in terms of its leading eigenvalue and eigenvector and recursively partition into two communities. Partitioning occurs if the maximum positive eigenvalue is greater than the tolerance (10e-5) for the current partition, and if it results in a positive contribution to the Modularity. Given an initial separation using the leading eigen step, 'rSpectral' then continues to maximise for the change in Modularity using a fine-tuning step - or variate thereof. The first stage here is to find the node which, when moved from one community to another, gives the maximum change in Modularity. This node’s community is then fixed and we repeat the process until all nodes have been moved. The whole process is repeated from this new state until the change in the Modularity, between the new and old state, is less than the predefined tolerance. A slight variant of the fine-tuning step, which can improve speed of the calculation, is also provided. Instead of moving each node into each community in turn, we only consider moves of neighbouring nodes, found in different communities, to the community of the current node of interest. The two steps process is repeatedly applied to each new community found, subdivided each community into two new communities, until we are unable to find any division that results in a positive change in Modularity.
Authors:
rSpectral_1.0.0.10.tar.gz
rSpectral_1.0.0.10.tar.gz(r-4.5-noble)rSpectral_1.0.0.10.tar.gz(r-4.4-noble)
rSpectral_1.0.0.10.tgz(r-4.4-emscripten)rSpectral_1.0.0.10.tgz(r-4.3-emscripten)
rSpectral.pdf |rSpectral.html✨
rSpectral/json (API)
NEWS
# Install 'rSpectral' in R: |
install.packages('rSpectral', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/cmclean5/rspectral/issues
Last updated 2 years agofrom:1b29efbe3d. Checks:OK: 1 NOTE: 1. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 17 2024 |
R-4.5-linux-x86_64 | NOTE | Dec 17 2024 |
Exports:spectral_graphNELspectral_igraph_communitiesspectral_igraph_membership
Dependencies:BiocGenericsclicpp11genericsgluegraphigraphlatticelifecyclemagrittrMatrixpkgconfigrbibutilsRcppRcppArmadilloRdpackrlangvctrs
Readme and manuals
Help Manual
Help page | Topics |
---|---|
rSpectral | rSpectral-package rSpectral |
Spectral clustering for 'graphNEL' objects | spectral_graphNEL |
Spectral clustering for 'igraph' objects | spectral_igraph_communities |
Spectral clustering for 'igraph' objects | spectral_igraph_membership |