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 <[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