Skip to content

Commit 11e771b

Browse files
authored
Create README.md
1 parent 003a1a2 commit 11e771b

1 file changed

Lines changed: 98 additions & 0 deletions

File tree

README.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# Structure–Function Coupling/Decoupling (Graph-Spectral Framework)
2+
3+
This repository contains code used in:
4+
5+
**Xing Qian et al. (2026)**
6+
Altered salience network structure–function integration underlies the decline in cognitive flexibility during aging
7+
PLOS Biology
8+
9+
---
10+
11+
## Overview
12+
13+
This implementation is based on:
14+
15+
Medaglia et al. (2018), Nature Human Behaviour
16+
17+
### Key difference
18+
19+
Instead of selecting a fixed number of eigenmodes, we use a **variance-based criterion** to determine:
20+
21+
- Coupling (alignment; smooth components)
22+
- Decoupling (liberality; rough components)
23+
24+
This approach:
25+
- Is data-driven
26+
- Is robust across parcellations
27+
- Avoids arbitrary selection of k
28+
29+
---
30+
31+
## Methods
32+
33+
### 1. Component selection (choose_k.m)
34+
35+
Steps:
36+
37+
1. Divide eigenvalues into:
38+
- Smooth (positive eigenvalues)
39+
- Rough (negative eigenvalues)
40+
41+
2. For each group:
42+
- Compute total energy = sum of absolute eigenvalues
43+
- Sort eigenvalues (descending)
44+
- Compute cumulative energy
45+
46+
3. Define kA and kL as:
47+
- Minimum number of eigenvalues explaining 95% energy
48+
49+
4. Average across time → KA, KL
50+
51+
---
52+
53+
### 2. Signal decomposition (signal_decomposition.m)
54+
55+
Structural matrix:
56+
57+
A = V Λ V^T
58+
59+
- V: eigenvectors
60+
- Λ: eigenvalues
61+
62+
Interpretation:
63+
- Smooth modes → coherent activity
64+
- Rough modes → abrupt variation
65+
66+
---
67+
68+
### Graph Fourier Transform
69+
70+
x_hat = V^T x
71+
72+
Reconstruction:
73+
74+
x = V x_hat
75+
76+
---
77+
78+
### Coupling / Decoupling
79+
80+
- Coupling = projection onto smooth modes
81+
- Decoupling = projection onto rough modes
82+
83+
Use KA and KL to select components.
84+
85+
---
86+
87+
## Notes
88+
89+
- This is NOT SC–FC correlation
90+
- It is graph spectral decomposition
91+
92+
---
93+
94+
## Citation
95+
96+
Please cite:
97+
- Qian et al., 2026 (PLOS Biology)
98+
- Medaglia et al., 2018

0 commit comments

Comments
 (0)