On 08.08.2016 17:11, P-M wrote:
> I am interested in computing the distribution of clustering coefficient with
> degree, c(k), for a network of mine (c.f. e.g. p. 102 in
> dx.doi.org/10.1038/nrg1272 ). Before I go and write a script to calculate
> this using the local_clustering method implemented in graph-tool I was
> wondering if anybody knew of any methods implemented to this end already?

This is essentially a two-liner:

   c = local_clustering(g)
   h = avg_combined_corr(g, "out", c)


-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to