BrainNetTest: Hypothesis Testing for Populations of Brain Networks

Non-parametric hypothesis testing for populations of brain networks represented as graphs, following the L1-distance ANOVA framework of Fraiman and Fraiman (2018) <doi:10.1038/s41598-018-23152-5>. The package builds on this nonparametric graph-comparison framework, extending it with marginal edge tests and an exploratory iterative edge-removal procedure for connections associated with group differences. In particular, it provides utilities to compute central (mean) graphs, pairwise Manhattan distances between adjacency matrices, the group test statistic T and its permutation p-value, and a fast cumulative-sum procedure to explore candidate edges associated with between-group differences. Helper functions to generate synthetic community-structured graphs and to visualise brain networks with communities are also included.

Package details

AuthorMaximiliano Martino [aut, cre] (ORCID: <https://orcid.org/0000-0002-2437-4387>), Daniel Fraiman [aut] (ORCID: <https://orcid.org/0000-0002-0482-9137>)
MaintainerMaximiliano Martino <maxii.martino@gmail.com>
LicenseMIT + file LICENSE
Version0.3.1
URL https://github.com/mmaximiliano/BrainNetTest 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("BrainNetTest")

Try the BrainNetTest package in your browser

Any scripts or data that you put into this service are public.

BrainNetTest documentation built on Dec. 3, 2026, 5:08 p.m.