Skip to content
Sylvia Schröder edited this page Aug 12, 2020 · 3 revisions

Road map of code

Generally, \scripts\ performs certain analyses using the functions in the other folders. To run the code, first change the paths to the folders at the start of each script:

folderBase: folder containing the data that you downloaded.

folderTools: folder containing all other necessary code repositories (as listed under Code dependencies.

folderThisRepo: folder containing this repository.

folderResults: folder where results will be saved (when performing analyses rather than reproducing figures).

Reproduce figures

To reproduce the figures from the paper, you first need to download the data. Specifically download and unpack files boutons.zip, sc neurons 2p.zip, opticTractp.zip, sc neurons ephys.zip, and v1 neurons ephys.zip.

Use \scripts\Figurexx.m to reproduce Figure xx.

Fit tuning curves

For retinal boutons and SC neurons recorded with 2P imaging: \scripts\main_fitTuningCurves_2p.m

Clone this wiki locally