Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with weighted transitivity and clustering coefficient? #117

Open
CallowBrainProject opened this issue Jan 17, 2023 · 1 comment
Open

Comments

@CallowBrainProject
Copy link

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

@aestrivex
Copy link
Owner

Can you provide the networks that are causing these outputs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants