Skip to main content
. Author manuscript; available in PMC: 2018 Nov 19.
Published in final edited form as: Neuroscience. 2017 Aug 24;364:1–14. doi: 10.1016/j.neuroscience.2017.08.022

Algorithm 1.

Identification of connectome-scale group-wise consistent ICNs

1: Input: All ICN spatial patterns across all subjects;

2: Eliminate ICN patterns with a large entropy;

3: Do k-means clustering for all remaining ICN patterns (cluster number equals 400);

4: for m = 1 to 400 do

5: for i = 1 to Nm (number of clustered ICN patterns in cluster m) do

6:   if I(Si,Sj) > 0.6 (j=1 to Nm, ij)

7:    Keep Si in the same class;

8:   else if

9:    Move Si to a temporary pool;

10:   end if

11: end for

12: end for

13: for i = 1 to NP (number of ICNs in the temporal pool) do

14: for m = 1 to 400 do

15:   Repeat 5–11;

16: end for

17: end for

18: Delete the temporary pool;

19: Only keep the clusters containing at least one ICN of each subject and double check by two groups of experts;

20: Output: Finalized retained clusters representing group-wise consistent ICNs.