Averaging the result of NxN connectivity using Volume Atlas (AAL3)


I computed NxN functional connectivity using the AAL3 volume atlas in each subject. Now, I tried to average these results, but I failed because the number of scouts of the AAL3 volume atlas differs in each subject. So, how can I adjust the number of scouts when importing the AAL3 volume atlas? I want to unify the scout number and sort the scout order for the statistical analysis that I'm planning after this analysis among all subjects.

Thank you,


I edited the code to allow averaging NxN connectivity files with different lists of scouts:

Please update Brainstorm and try again.
I haven't tested all the possible combinations of options (too many!) so there might be some new errors occurring, please be careful and make sure that the results you obtain make sense.

Hi, Francois,

Thank you for your help!
I could average the N x N connectivity matrix.

Thank you!