Skip to content

marderlab/size-compensation

Repository files navigation

How neurons can compensate for changes in cell size

This repository contains code that reproduces all figures from "Homeostatic plasticity rules that compensate for cell size are susceptible to channel deletion" by Srinivas Gorur-Shandilya, Eve Marder and Timothy O'Leary.

A preprint is available here

Installation

Assuming you use git, install the required code and dependencies using:

# this repo
# tested with git hash 3c7f434ed7ae4666c760abafa25670a211843ee7
git clone https://github.com/marderlab/size-compensation

# the neuron simulator this uses
git clone https://github.com/sg-s/xolotl 

# dependencies 
# tested with git hash e1c7450bd51256c04b415d9b422236ee313c8288
git clone https://github.com/sg-s/srinivas.gs_mtools



git clone https://github.com/sg-s/cpplab

Reproducing figures in the paper

You will first have to download some data, available here and tell MATLAB where the data is using:

setpref('size_comp','data','/link/to/where/you/downloaded/data')

Then, in your MATLAB prompt, simply run the appropriate script to make the figure as you see it in the paper. For example, running

fig1.make

will make

This project uses the xolotl neuron and network simulator, which is freely available for you to use.