How to measure subgroup centrality


How to measure subgroup centrality



I have a money transfer table with 300.000 rows and 200.000 distinct customers. I want to measure centrality scores of these customers. Since the data is big, I would like to split first the whole portfolio into smaller communities using Modularity function, and then run other centrality functions for these specified subgroups. Is there any way to do this (e.g. using Modularity and EigenvectorCentrality functions together) rather than doing it manually (first subgroup using Modularity function, then calculate EigenvectorCentrality scores for each subgroup one by one)?


I would greatly appreciate any help.


Best regards,