bctpy
bctpy copied to clipboard
Issue with weighted transitivity and clustering coefficient?
Hello,
I have been running
transitivity.append(bct.transitivity_wu(np_SC))
and
bct.clustering_coef_wu(np_SC)
on a weighted brain network (np_SC).
However my weighted measures are rather large and above the 0-1 range.
I get a transitivity of 50 and a clustering coefficient of 47 for the following attached graph. Is there some documentation for how this is calculated? I would have though it would output a ratio however, given these are weighted networks maybe there is something different going on? Is it possible to see the source code/mathematical calculation for how these specific measures are being produced? Or maybe an explanation (I may just be misunderstanding something!)
Thanks, Daniel Callow
Can you provide the networks that are causing these outputs?