import reorder.js
✓ Published1🌍 Public
XXinYaoHuang
Last edited Nov 24, 2020
Created on Nov 8, 2020
This example demonstrates how the `reorder.js` library's `barycenter_order` algorithm reorders the rows and columns of an adjacency matrix to reveal clustered structure in a network. It first converts a small binary matrix into a graph via `mat2graph`, then applies the permutation to the transposed matrix. The code also loads edge-list data from `infect-dublin.edges`, suggesting the technique scales to real-world network datasets.
AI-generated descriptionMIT Licensed