Skip to content

HernandoMV/APE_paper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code: DOI

Datasets: DOI

APE_paper

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

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

PLACEHOLDER FOR YVONNE FIGURE

About

Reproduction of figures for the APE paper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages