Gist 1e296721b61bae725016
✓ Published0🌍 Public
Aakeshavan
Last edited Oct 18, 2014
Created on Oct 18, 2014
This visualization displays functional connectivity between brain regions as a circular node-link diagram, with edges colored by PLS regression coefficients relating resting-state fMRI correlations to disability scores (EDSS) in multiple sclerosis patients. The code converts correlation values to z-scores via Fisher transform, then applies PLSRegression to extract predictive components. Using MNE-Python’s `circular_layout` and `plot_connectivity_circle`, it arranges region names around a ring, styles nodes with seaborn color palettes, and encodes edge weights through a custom colormap with a colorbar. The underlying data is loaded from a CSV of freesurfer parcellations and connectivity metrics.
AI-generated description