Ranieri Andrea, Pichiorri Floriana, Colamarino Emma, Cincotti Febo, Mattia Donatella, Toppi Jlenia
Department of Computer, Control, and Management Engineering, Sapienza University of Rome, Rome, Italy.
Neuroelectrical Imaging and BCI Laboratory, IRCCS Fondazione Santa Lucia, Rome, Italy.
PLoS One. 2025 Jun 5;20(6):e0319031. doi: 10.1371/journal.pone.0319031. eCollection 2025.
Spectral graph theory and its applications constitute an important forward step in modern network theory. Its increasing consensus over the last decades fostered the development of innovative tools, allowing network theory to model a variety of different scenarios while answering questions of increasing complexity. Nevertheless, a comprehensive understanding of spectral graph theory's principles requires a solid technical background which, in many cases, prevents its diffusion through the scientific community. To overcome such an issue, we developed and released an open-source MATLAB toolbox - SPectral graph theory And Random walK (SPARK) toolbox - that combines spectral graph theory and random walk concepts to provide a both static and dynamic characterization of digraphs. Once described the theoretical principles grounding the toolbox, we presented SPARK structure and the list of available indices and measures. SPARK was then tested in a variety of scenarios including: two-toy examples on synthetic networks, an example using public datasets in which SPARK was used as an unsupervised binary classifier and a real data scenario relying on functional brain networks extracted from the EEG data recorded from two stroke patients in resting state condition. Results from both synthetic and real data showed that indices extracted using SPARK toolbox allow to correctly characterize the topology of a bi-compartmental network. Furthermore, they could also be used to find the "optimal" vertex set partition (i.e., the one that minimizes the number of between-cluster links) for the underlying network and compare it to a given a priori partition. Finally, the application to real EEG-based networks provides a practical case study where the SPARK toolbox was used to describe networks' alterations in stroke patients and put them in relation to their motor impairment.
谱图理论及其应用是现代网络理论向前迈出的重要一步。在过去几十年里,它越来越受到认可,推动了创新工具的发展,使网络理论能够对各种不同场景进行建模,同时回答日益复杂的问题。然而,要全面理解谱图理论的原理需要坚实的技术背景,这在很多情况下阻碍了它在科学界的传播。为了克服这个问题,我们开发并发布了一个开源的MATLAB工具箱——谱图理论与随机游走(SPARK)工具箱,它结合了谱图理论和随机游走概念,以提供对有向图的静态和动态特征描述。在阐述了该工具箱的理论原理之后,我们介绍了SPARK的结构以及可用指标和度量的列表。然后,在各种场景中对SPARK进行了测试,包括:合成网络上的两个玩具示例、一个使用公共数据集的示例(其中SPARK被用作无监督二元分类器)以及一个基于真实数据的场景,该场景依赖于从两名处于静息状态的中风患者记录的脑电图数据中提取的功能性脑网络。合成数据和真实数据的结果都表明,使用SPARK工具箱提取的指标能够正确地表征双隔室网络的拓扑结构。此外,它们还可用于找到基础网络的“最优”顶点集划分(即使簇间链接数量最小化的划分),并将其与给定的先验划分进行比较。最后,将其应用于基于真实脑电图的网络提供了一个实际案例研究,其中SPARK工具箱被用于描述中风患者网络的变化,并将其与他们的运动障碍联系起来。