"in-out" correlations in graph-tool
Dear all, I want to calculate the "in-out" and "out-in" degree correlations in directed networks. However, I don't see any function in graph-tool that would do this for me. The usual "gt.scalar_assortativity" can do this only for "in-in" or "out-out" correlations. Can somebody please point out to me if there is any way around? Thank you Snehal -- Snehal Madhukar Shekatkar Pune India
On 29.11.2016 12:31, Snehal Shekatkar wrote:
Dear all,
I want to calculate the "in-out" and "out-in" degree correlations in directed networks. However, I don't see any function in graph-tool that would do this for me. The usual "gt.scalar_assortativity" can do this only for "in-in" or "out-out" correlations. Can somebody please point out to me if there is any way around?
scalar_assortativity() does not yet support this, but it is easy to modify it (just open a ticket in the website, and it will be done when I get around to it). But you con obtain this type of correlation using, e.g. avg_neighbour_corr(g, "out", "in"). Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
Snehal Shekatkar -
Tiago de Paula Peixoto