bctpy icon indicating copy to clipboard operation
bctpy copied to clipboard

Issue with weighted transitivity and clustering coefficient?

Open CallowBrainProject opened this issue 2 years ago • 1 comments

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

HCA6002236_V1_MR_connectome.csv

CallowBrainProject avatar Jan 17 '23 18:01 CallowBrainProject

Can you provide the networks that are causing these outputs?

aestrivex avatar Jul 26 '23 16:07 aestrivex