Community characterization of heterogeneous complex systems