Sovereign 8s.is mirror of standardgalactic/Modeling-Myelin-FC
  • MATLAB 73.7%
  • Python 26.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-12-09 13:40:13 -08:00
data added code / tested / incl example inputs & outputs 2025-12-07 21:31:29 -08:00
matlab cleanup 2025-12-09 13:33:51 -08:00
out UPD python output example 2025-12-08 14:35:30 -08:00
parcellations added code / tested / incl example inputs & outputs 2025-12-07 21:31:29 -08:00
python UPD license 2025-12-09 13:40:13 -08:00
.gitignore MOD ignore macos hidden files 2025-12-08 14:43:56 -08:00
CITATION.cff added code / tested / incl example inputs & outputs 2025-12-07 21:31:29 -08:00
LICENSE Initial commit 2025-08-07 14:39:30 -07:00
README.md UPD license 2025-12-09 13:40:13 -08:00

Myelin–FC Coupling (MATLAB + Python)

Pipeline to assess how white-matter myelin relates to structural–functional coupling.

What’s here

  • DATA derivative connectivity data in 200 & 400 node parcellation — see data/
  • MATLAB main analysis code (used in paper) — see matlab/
  • Python companion code mirroring logic of Matlab package — see python/

Quick start (MATLAB)

addpath(genpath('matlab'));
mk_edgescsv_from_mat()            % edit data in here
cfg = config.default_config();    % edit paths in here
main;                             % runs full pipeline

Quick start (Python)

cd python
pip install -e .
myelin-fc-run --edges ../data/edges_fc_BOLDin.csv --out ../out --fc-label BOLD

Inputs (edges table)

Columns required in edges.csv: i,j,FC,caliber,myelin,length and optional rsn_i,rsn_j. If RSNs are not on edges, provide nodes.csv with node_id,rsn.

Outputs

All results saved to out/ as:

  • subdirectories by FC modality
  • CSVs by modeling resolution / analysis stage
  • a single results_all.mat (MATLAB only).

2025 Mark C Nelson – MNI — GPL-3.0 License (code), see LICENSE.