I currently have a dataset which can be split into two groups: disease vs control. Each group consists of $n_{disease}$ and $n_{control}$ subjects respectively. The dataset itself is a correlation matrix computed from fMRI timecourses, thus every subject has its own correlation matrix pertaining to their brain activity during acquisition.
What I'm interested in is how the correlation matrix can be partitioned into separate, and non-overlapping modules. The reason for this is because we believe the brain activity given the condition would exhibit activity profiles reflected in the correlation matrix that may result in unique modules not observed in the control group. I've currently implemented the weighted version of the Louvain modularity algorithm from the Brain Connectivity Toolbox (a matlab toolbox that the field uses), and so what I've done is quantified every subject's Louvain community.
I've tried to address concerns regarding the issues of randomness when the Louvain algorithm initializes by runnning 250 iterations of the algorithm on a subject's correlation matrix before coming to a consensus partition by creating an agreement matrix that is iterated by another implementation of the Louvain algorithm with the threshold $\tau = 0.4 $
So whilst I have $n_{disease}$ individual Louvain communitiy/partition vectors and $n_{control}$ partition vectors, I was wondering if there was a way to get a group partition (one for disease, and one for control), before quantifying local nodal metrics such as the Participation Coefficient and within degree modules z-score. The reason for this is because whilst I can calculate the Particpation coefficient and WMD Z-score for every subject based on their own individual Louvain module vector, I would still like to have a consensus on what the group partition is of the correlation matrix given the experimental condition. Additionally, it may be more prudent for me to quantify the wmd z-score and participation coefficient based on a group's representative modularity structure, instead of individual structures as the end objective is to compare between groups, not between individual subjects.