Skip to content

HernandoMV/APE_paper

Repository files navigation

Code: DOI

Datasets: DOI

APE_paper

Reproduction of figures for the APE paper

Francesca Greenstreet, Hernando Vergara, Yvonne Johansson, Sthitapranjya Pati, Stephen C Lenzi, Alina Gubanova, Laura Schwarz, Matthew Wisdom, Fred Marbach, Lars Rollik, Theodore Moskovitz, Joseph Cohen, Emmett Thompson, Troy W Margrie, 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

To run things locally in your machine:

  1. clone this repo
git clone https://github.com/HernandoMV/APE_paper.git
  1. create the environment (optional). Otherwise you might need to install some dependencies manually.

    conda env create -f environment.yml
    conda activate APE_paper
    
  2. install the tool to analyse the behavior

    Option 1: from PyPi

    pip install mouse-behaviour-analysis-tools
    

    Option 2: from the tools repo

    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 .
    
  3. run the scripts in scripts folder, or download them in script or notebook format from the documentation

Run the Google Colab notebooks directly in your browser:

Figure 1 C

Figure 1 EF

Figure 1 IJK

Figure 2 BCDE

Figure 6 CDF

Figure 7 FG

Suppl. Figure 5 FG

Suppl. Figure 6 PQR

Suppl. Figure 6 TU

Suppl. Figure 6 VW

About

Reproduction of figures for the APE paper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages