GithubHelp home page GithubHelp logo

honisanders / animal-variability Goto Github PK

View Code? Open in Web Editor NEW

This project forked from parsanilchian/animal-variability

0.0 1.0 0.0 118.88 MB

Code for "Animal to Animal Variability in Partial Hippocampal Remapping" by Nilchian, Wilson, Sanders 2022

License: MIT License

Jupyter Notebook 100.00%

animal-variability's Introduction

  1. DATA

The data for this study was provided to us by Alme et al., 2014 (PNAS) and permission was given to us to perform the analyses found in the code. All data files can be found in the DATA folder. Each file contains the behavioral and electrophysiological data of a single animal in a single session. For example, the file 17769_novel6begin2.h5 contains the data collected for animal 17769 in room 6 in the second session (see methods for details on experimental design). The data of animals 17724 and and 17490 was not used because these animals were not run in the repetitions of novel room N1 and N6 at the ends of the days.

  1. Implementation instructions

The folder contains 3 files:

  • a main file which processes the data and runs the majority of the analyses.
  • a revision file which performs most of the analyses requested in the review process.
  • a functions file which contains the functions used in the main and revision files.

The first file that should be run is main code. The main code preprocesses the data, computes rate maps, extracts the behavioral data, and creates some of the figures shown in the paper.

IMPORTANT note 1: The code creates and saves files in the same directory as itself. The first 4 cells (including PART 2: organizing the data) must be run for each animal individually first - this saves the rate maps, behavioral data, and thresholds for each animal. To do this the animal-flag in the second cell (executing the data analysis) must be changed to the correct animal ID (17769, 17894, 18023, 18237, 19251). All the following cells must be implemented afterwards and implement the actual analyses/statistics/figures.

IMPORTANT note 2: The code creates and saves other files throughout the data. These files are then reimported to run the anlyses. For example, in Part 4: plotting the data the most important file that is created is rate_map_allsession_final_animalID for each animal. This file is then reimported to create the figures for each animal individually. Here again, the code is implemented consecutively for each animal and the person running the code must manually enter the animal ID and cell number for each animal.

animal-variability's People

Contributors

parsanilchian avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.