Reproduction of figures for the APE paper
Francesca Greenstreet, Hernando Vergara, Sthitapranjya Pati, Laura Schwarz, Matthew Wisdom, Fred Marbach, Yvonne Johansson, Lars Rollik, Theodore Moskovitz, Claudia Clopath, Marcus Stephenson-Jones, "Action prediction error: a value-free dopaminergic teaching signal that drives stable learning." bioRxiv, 2022.
See documentation (scripts to generate figures) here
- clone this repo
git clone https://github.com/HernandoMV/APE_paper.git
-
create the environment (optional). Otherwise you might need to install some dependencies manually.
conda env create -f environment.yml conda activate APE_paper
-
install the tool to analyse the behavior
pip install mouse-behaviour-analysis-tools
https://github.com/HernandoMV/mouse-behavior-analysis-tools
With this option it will be easier for you to change things from the functions directly, such as plotting options.
3.2.1. clone the repo
git clone https://github.com/HernandoMV/mouse-behavior-analysis-tools.git
3.2.2. change the current directory to that of the cloned repo
cd mouse-behaviour-analysis-tools
3.2.3. in the root directory of the cloned repo type
pip install -e .
-
run the scripts in
scripts
folder, or download them in script or notebook format from the documentation
PLACEHOLDER FOR YVONNE FIGURE