Network Analysis, Mass Spectrometry, Python, Open Science.
clusters[i] = len(subnet.nodes) clusters This will output a dictionary that starts like this: {6: 7, 8: 4, 12: 5, 14: 10, 15: 3, 16: 4, 17: 18, 19: 32, 20: 10, 23: 59, 25: 6, 28: 4, 37: 4, ... ... The first number is the index in subnetworksand the second number is the number of nodes in that