bctpy
bctpy copied to clipboard
brain connectivity toolbox for python
Hi, I think there are at least two big issues in NBS parallel. The first one is that the random generator is not used in a suitable way for multiprocessing....
Hi! Is it possible somehow to control for covariates (e.g., age and sex) in the NBS analysis as states in this forum post - https://www.nitrc.org/forum/message.php?msg_id=10356 ?
In computing the local assortativity for signed, unweighted networks, `local_assortativity_wu_sign` executes the following two lines ` r_pos = assortativity_wei(W * (W > 0))` ` r_neg = assortativity_wei(W * (W <...
In `nbs_bct` permutation max appears to always return 0 with the following args: `pvals, adj, null_dist = nbs_bct(scz, controls, thresh=20, tail='both', k = 100, verbose = True, seed = None)`...
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...
In 2017 update BCT updated partition distance to accept NxP and NxQ matrix. Appears to compare all possible sequences of partitions. Seems not very important to update, but would improve...
Hey, so far k-coreness calculation has been implemented for binary directed and undirected graphs. Wonder if it would be possible to also implement it for weighted undirected ones? :)
Would be nice if user could choose the replacement value in `bct.utils.other.threshold_proportional`. Currently, this is 0 but in my case it would be better if the replacement value would be...