Git Product home page Git Product logo

geneticbrainhubs's Introduction

GeneticBrainHubs

DOI

This repository provides Matlab code for reproducing figures from the paper entitled:

The code was written using MATLAB_R2019b. Some functions are dependent on the version and should be accommodated by versions >R2017a. For earlier versions, please replace all " with ' in importHeritabilityResultwP.m and importGENEIDfile.m functions.

Dependencies: Brain Connectivity Toolbox, Version 2017-15-01. Included in this repository.

Contact Aurina Arnatkeviciute by email.

Data files

Data files required for this project are hosted in on the associated Zenodo repository. Please download and unzip the data in the root directory.

Reproducing figures

First, add all sub-folders to the path using setupPaths() function from the root directory. This will also create a makeFigures folder. Code to reproduce the figures is located in the generateFigures folder. Script generateFigures.m calls all the functions to plot the figures. Run the scripts from the root directory. Figures will be saved in makeFigures folder in the root directory. It takes around 15 minutes to generate all figres on a standard laptop (except for FigureS13(), which requires additional randomisations that take ~1h to complete).

Figure2_and_FigureS2() - main text: heritability and supplementary figure S2 visualising spatial distribution of most and least heritable links.

Figure3() - main text: correlated gene expression.

Figure4('energy') - main text: generative modelling (space and topology) when optimising max KS.

Figure5() - main text: generative modelling (space, topology and genes).

FigureS1() - supplementary: topological properties of the connectome.

FigureS3_S5() - supplementary: heritability-related analyses.

FigureS6_uncorrectedCGE() - supplementary: correlated gene expression without correction for distance effects.

FigureS6_S11() - supplementary: correlated gene expression related analyses.

FigureS12() - supplementary: generative modelling (space and topology) when optimising degree correlation.

FigureS13() - supplementary: heritability for rich, feeder and peripheal links where the significance is evaluated using label randomisation.

FigureS14() - supplementary: genetic variance.

TableS1() - supplementary: enrichment table.

geneticbrainhubs's People

Contributors

aurinabmh avatar

Stargazers

charissa avatar ella09may avatar Hao Wang avatar  avatar

Watchers

James Cloos avatar Ben Fulcher avatar Kevin M Aquino avatar Chao Suo avatar  avatar  avatar

Forkers

m31glx portokalh

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.