How much variation in cluster memberships does each subgraph have?

entropies(G, clusters_)

Arguments

G

A graph whose subgraphs we want to find.

clusters_

The cluster membership of each cell. Indices must correspond to indices of V(G).