This repository provides MATLAB code for robust lesion network mapping (rLNM), a null model-based framework designed to identify reliable and symptom-specific brain networks while reducing biases associated with normative functional connectivity.
The repository contains two main modules:
C1_sensitivity_test/: Spatial null model-based sensitivity testing to identify brain regions showing lesion-connectivity overlap beyond chance.C2_specificity_test/: Regression-based selective specificity testing to distinguish symptom-specific networks after accounting for shared connectivity patterns.
The sensitivity analysis requires a normative functional connectivity (FC) matrix (~600 MB), stored at:
C1_sensitivity_test/template/rho_z_mean.mat
This file is managed using Git Large File Storage (Git LFS).
To download the repository with the complete FC matrix, install Git LFS and run:
git lfs install
git clone https://github.com/pBFSLab/rLNM.gitThe FC matrix will be automatically downloaded to the appropriate directory. No separate download is required.
Open MATLAB, navigate to the corresponding analysis directory, and run the scripts. Adjust local file paths if necessary.
This project is licensed under the Apache License 2.0 License.