ORIGINAL RESEARCH article
Front. Netw. Physiol.
Sec. Networks of Dynamical Systems
Volume 5 - 2025 | doi: 10.3389/fnetp.2025.1691159
This article is part of the Research TopicSelf-Organization of Complex Physiological Networks: Synergetic Principles and Applications — In Memory of Hermann HakenView all 11 articles
A Q-analysis package for higher-order interactions analysis in Python and its application in network physiology
Provisionally accepted- 1Baltijskij federal'nyj universitet imeni Immanuila Kanta, Kaliningrad, Russia
- 2Research Institute for Applied Artificial intelligence and Digital Dolutions, Plekhanov Russian University of Economics, Moscow, Russia
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Real-world networks have complex, higher-order structures that are invisible to traditional pairwise methods. Q-analysis provides a powerful exploratory framework to uncover and quantify these structures. This paper introduces a Python package in the form of a tutorial that makes this methodology accessible for analyzing both simplicial complexes and the underlying community structures of conventional graphs. The package contains a suite of descriptive metrics, including structure vectors and other graded parameter sets, that provide a structural lens for examining network topology. The package includes tools for statistical analysis, such as permutation tests, and supports machine learning workflows through scikit-learn compatible transformers. First, we showcase the package's capabilities through a simulation study comparing Q-analysis metrics across different network types. Next, we apply the package to the DBLP (Digital Bibliography & Library Project) co-authorship dataset and analyze the evolution of its collaborative structures over time. Finally, we present an example of using the package to study a physiological problem, such as identifying disruptions in the fMRI-derived brain network caused by major depressive disorder. By providing an open-source tool for Q-analysis, this package aims to make higher-order network analysis more accessible to researchers, facilitating the quantitative analysis of higher-order structures in complex systems, including network models in physiology.
Keywords: Q-analysis, complex networks, Higher-order interactions, Network physiology, Functional Networks, network topology, Simplex
Received: 22 Aug 2025; Accepted: 08 Oct 2025.
Copyright: © 2025 Smirnov, Kurkin and Hramov. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: Alexander E Hramov, hramovae@gmail.com
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.