Coder Social home page Coder Social logo

wwwhales / hansen_crossdisorder_vulnerability Goto Github PK

View Code? Open in Web Editor NEW

This project forked from netneurolab/hansen_crossdisorder_vulnerability

0.0 0.0 0.0 32.17 MB

Data and code supporting Hansen et al., 2022, Nature Communications, "Local molecular and global connectomic contributions to cross-disorder cortical abnormalities"

Python 100.00%

hansen_crossdisorder_vulnerability's Introduction

DOI

Local molecular and global connectomic contributions to cross-disorder cortical abnormalities

This repository contains code and data created in support of my project, "Local molecular and global connectomic contributions to cross-disorder cortical abnormalities", now published in Nature Communications (and tweeted on twitter). This project was originally a preprint on bioRxiv, and used to be titled "Molecular and connectomic vulnerability shape cross-disorder cortical abnormalities". All code was written in Python 3.8.10 and depends on standard Python packages. This repository can be cloned with git clone https://github.com/netneurolab/hansen_crossdisorder_vulnerability.

Code

The code folder contains the scripts required to conduct the main analyses:

  • 00_get_predictors_and_atrophy_maps.py puts together the list of molecular and connectomic predictors used in the main analysis, and puts together ENIGMA-derived case versus control cortical abnormality maps for 13 different disorders/diseases/conditions. I used the enigma toolbox to fetch most of these profiles. This script generates the figures used in Figure 1 of the manuscript.
  • 01_regression_and_dominance.py runs the primary analysis of the project, which uses an in-house implemented version of dominance analysis. This script generates the figures used in Figures 2 and 3 of the manuscript.
  • 02_network_spreading.py calculates the degree to which disorders demonstrate "network-informed" or "network-spreading" cortical abnormalities, an analysis that was originally developed by Shafiei et al., 2019. This script generates the figures used in Figure 4 of the manuscript.
  • 03_disorder_similarity.py compares disorder similarity to other similarity matrices as well as the structural and functional connectomes. This script generates the figures used in Figure 5 of the manuscript.

Data

The data folder contains the data I use to run my analyses. Here I list out the directories and some files of interest:

  • enigma contains ENIGMA maps that are (or were) not included in the enigma toolbox. These files come from me scavenging supplementary tables which sometimes come as PDF files and were therefore copy-pasted into something for my scrpit to read. Sorry.
  • predictors contains parcellated molecular predictor maps that I use in the main analysis. The volumetric version of many of these maps can be found in the neuromaps toolbox.
  • I eventually save my predictor matrices in local_biol_predictors.csv and global_conn_predictors.csv. The names/order of the variables are stored in {bio/conn}_predictor_names.npy. There are some other versions of the connectivity predictors, as well as MEG-derived temporal predictors, that I use in the supplementary analyses.
  • I save my region by disorder matrix of cortical abnormalities in enigma_ct.csv and the names/order in disorders.npy.
  • Richard Carson and Kelly Smart from the Yale PET Centre shared this PET map, which is of a tracer (UCBJ) that binds to the synaptic vesicle glycoprotein 2A and indexes synapse density.

Results

The results folder contains the saved outputs from the code scripts. Analyses were repeated in Lausanne and HCP SC/FC datasets, hence the duplicated results.

hansen_crossdisorder_vulnerability's People

Contributors

justinehansen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.