Tools for multilayer / multiplex network analysis originally developed for muxViz, ported from MATLAB to R and extended over time.
- Origin: muxViz / MuxNetLib
- Version: 3.0 (historical baseline) — actively modularized for modern R/igraph
- Authors: Manlio De Domenico (original); ongoing maintenance & modularization with community contributions
- Multilayer data structures and helpers (layers tensor, supra‑adjacency, supra‑Laplacian).
- Spectral geometry & entropy utilities (eigenpairs, spectral measures for comparison and embedding).
- Random walks & diffusion (transition matrices, edge‑colored dynamics).
- Components, paths, descriptors on mono/multilayer graphs.
- Matrix utilities in a MATLAB‑like style (e.g.,
kron,speye,blkdiag, …) for convenience.
install.packages("devtools")
devtools::install_local("path/to/MultiNetLib") # or the .zip/.tar.gz you builtlibrary(MultiNetLib)Dependencies:
igraph,Matrix,RSpectra,stats,utils.
Suggested:testthat,knitr,rmarkdown,ggplot2,pkgdown,covr.
Look over inst/scripts for some examples to start with.
devtools::document()
devtools::test()
devtools::check()- Unit tests cover key behaviors (robustness, components, random‑walks, spectral).
- Vignettes (recommended) show end‑to‑end workflows: supra‑adjacency → spectra/entropy → robustness curves.
If you use this library in academic work, please cite muxViz / MuxNetLib and the relevant publications by Manlio De Domenico and collaborators.
MIT License (see LICENSE).
- 2014 — first release (part of muxNet, MATLAB).
- 2017 — port to R.
- 2020 — v3.0 baseline.
- 2025 — ongoing modularization, igraph 2.x compatibility, tests, and docs improvements.