Gephi - Clustering Layout By Modularity - Data Story

Gephi - Clustering layout by modularity

Modularity is one measure of the structure of networks or graphs. It was designed to measure the strength of division of a network into modules (also called groups, clusters or communities). Networks with high modularity have dense connections between the nodes within modules but sparse connections between nodes in different modules. Modularity is often used in optimization methods for detecting community structure in networks. 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 We removed it because it was wrong. One can show how to generate a random graph with a high Q value. Hence Q can't be used to interpret how significant the communities are. ->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:) Enable GingerCannot connect to Ginger Check your internet connection or reload the browserDisable in this text fieldEditEdit in GingerEdit in Ginger×

Ohter related articles

  • Gephi - export network image with margin setting
  • Label Gephi node with Font Awesome
  • Weight in Gephi while importing csv file
  • Gephi - Betweenness Centrality
  • Gephi - Use GeoLayout Analysing Geodata (Longitude, Latitude) on a Map
  • Gephi - Clustering layout by modularity
Enable GingerCannot connect to Ginger Check your internet connection or reload the browserDisable in this text fieldEditEdit in GingerEdit in Ginger×

1 comment:

  1. Levi HMay 26, 2025 at 12:34 AM

    I find it fascinating how networks like animal brains exhibit high levels of modularity.

    ReplyDeleteReplies
      Reply
Add commentLoad more... Newer Post Older Post Home Subscribe to: Post Comments (Atom)
  • Research
  • Development

Search This Blog

Tag » What Is A High Modularity Score