Skip to content

BassettLab/cascades

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cascades

This repository contains code for simulation and analysis used in Ju et al. 2019 (Network structure of neural systems supporting cascading dynamics predicts stimulus propagation and recovery).

Setup

Code developed using MATLAB 2018a and python 3.7.3. For help using python in MATLAB, see system configuration.

Dependencies

Use

The repository's high-level structure is:

├──analysis
    ├──cascades
    ├──depracated code
    ├──dynamics
    ├──graph
    ├──information
    └──markov
├──dynamics
    ├──inputs
    └──models
└──figures
    └──supplement

Figure generation

To generate the figures from pre-generated data,

  1. Set source_data_dir to the directory containing the source data (e.g. source_data_dir = '/Users/username/Downloads/Source Data';). Download the pre-generated source data from figshare.
  2. Run the scripts in figures.

To generate all figures from scratch,

  1. Clear the variable source_data_dir (e.g. clear source_data_dir).
  2. For figures 2, 3, and 4, set emp_data_dir to the directory containing the empirical data (e.g. emp_data_dir = '/Users/username/Downloads/data';). Download the empirical data from crcns. This may take a long time for some figures.
  3. Run the scripts in figures.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 95.4%
  • MATLAB 4.6%