Spatially heterogeneous structure-function coupling in haemodynamic and electromagnetic brain networks
This repository contains processing scripts and data in support of the preprint "Spatially heterogeneous structure-function coupling in haemodynamic and electromagnetic brain networks" on bioRxiv.
The code
folder contains all the code used to run the analyses and generate the figures.
code/script_coupling.py
contains the script to reproduce Figure 1 & 2.code/script_correlation.py
contains the script to reproduce Figure 3 & 4.
All code was written in Python and the required packages can be found in requirements.txt
.
The data
folder contains the data used to run the analyses. The structural and functional brain networks are derived from HCP-YA. All data were parcellated using Schaefer400x7 atlas.
subj_list.txt
contains the list of 33 subjects used in the analysis.sc_cons_400_nosubc.npy
,sc_avggm_400_nosubc.npy
contains the group consensus structural connectivity matrix calculated using a distance-dependent method.fc_cons_400.npy
contains group average rsfMRI functional connectivity matrixdist_400.npy
contains Euclidean distance matrixmegconn_avg_aec-lcmv_*.npy
contains group average MEG band-resolved functional connectivity matrices. For preprocessing details, check the original publications from shafiei_megfmrimapping and shafiei_megdynamics.Schaefer2018_400Parcels_7Networks.npy
contains resting-state network labels.archemap_axis_final_wh.npy
contains cortical hierarchy annotation derived from The Archetypal Sensorimotor-Association Axis.bbw_intensity_profiles_400.npy
contains bigbrain intensity profiles derived from BigBrainWarp.sc_cplg_rsq_local.npy
contains local multivariate coupling derived fromcode/script_coupling.py
.
If you use any of the HCP data, please follow their data terms, register with ConnectomeDB, and cite relevant publications. The data provided in this repository were generated using of a number of excellent open-source tools & resources, please also consider citing the relevant publications: netneurotools, neuromaps, BigBrainWarp, Brainstorm, S-A_ArchetypalAxis, Schaefer atlas.
The figures
folder contains the generated raw figures.