README.md 1.2 KB

VP_RPE_2020

Data and analysis for our 2020 manuscript "A quantitative reward prediction error signal in ventral pallidum" in Nature Neuroscience. An earlier version of the manuscript is available on bioRxiv: https://doi.org/10.1101/807842

All of the preprocessed data is available in the “Data" folder. There you can also find Matlab data files created with scripts in the MatlabScripts folders “1_InitialAnalysis” and “2_Modeling”. Note you have to download the .zip files in the Data folder individually.

You can generate most of the figures in the paper by downloading the Data folder and the MatlabScripts folder, adding both folders to your Matlab path, and running the scripts in the MatlabScripts folder “3_Figures” — particularly “MainFigures.m”, as well as the scripts in “AdditionalFigures.”

If you get error messages, they're likely related to pathname. You'll want to change the pathname in "MatlabScripts/HelperFunctions/ottBari2020_root.m" to the folder that contains the Data folder as well as the pathname for the behavior files for the "opto" AdditionalFigures scripts.

There's an associated GitHub: https://github.com/djottenheimer/VP_RPE_2020