The attached scripts are related to the paper:
Hahamy, A., Behrmann, M., and Malach, R. (2015). The idiosyncratic brain: distortion of spontaneous connectivity patterns in autism spectrum disorder. Nat Neurosci.
In order not to impose any specific data structure, these scripts relate to one dataset (and not to multiple datasets).
We hope you'd find these scripts useful. If used, please cite the above paper.