However, it has been shown that modularity suffers a resolution limit and, therefore, it is unable to detect small communities. Biological networks, including animal brains, exhibit a high degree of modularity.
Gephi uses Louvain method for calculating modularity and one thing to note is that high modularity doesn't denote "good" partition. Some discussions from Gephi are listed below:
Indeed you can't use the raw modularity scores to say whether it is a "good" partition, because a similarly high score may also be obtained in a random graph. Compare it to the traditional clustering coefficient: if the two variables are independent (the 'null' condition), the correlation is zero, so any correlation away from zero is "high". For modularity however, this value is not zero for random graphs (the 'null' condition), so that it's difficult to say whether modularity is 'high' and therefore a 'good' partition. ->link
How to get the clustering layout by modularity?
Step 1. Calculate Modularity [Statistics] -> Modularity [Run]
Step 2. Apply Filter [Attributes] -> [Partition] -> [Modularity Class]
- Select first partition and click [Filter], then nodes in first modularity class will be left.
Step 3. Set Dragging Diameter higher and drag these nodes to left upper side.
Step 4. Select 2nd modularity class and filter the nodes to drag -> repeat to other modularity classes.
Got your clustered layout and enjoy:)