Skip to content

Matlab code for the study titled 'Altered reactivity to threatening stimuli in Drosophila models of Parkinson’s disease, revealed by a trial-based assay'.

License

Notifications You must be signed in to change notification settings

hangyabalazs/Drosophila-behavior-analysis

Repository files navigation

Matlab code for the study titled 'Altered reactivity to threatening stimuli in Drosophila models of Parkinson’s disease, revealed by a trial-based assay'.

Shield: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

Description

This repository contains MATLAB code for quantifying escape behaviors in Drosophila melanogaster triggered by a predator-mimicking passing shadow stimulus. The code identifies the response type based on walking speed calculation. The speed is calculated using the recorded x and y coordinates, as well as timestamps. The MATLAB function ‘Main_Drosophila_Behaviour’ produces the figures presented in the study titled "Altered Reactivity to Threatening Stimuli in Drosophila Models of Parkinson's Disease Revealed by a Trial-based Assay" by Kajtor et al.

Content

  • .m files for data analysis
  • license file

Installation

  • Download the .m file of this package and dependent packages (see dependencies below).
  • Add directories (with subdirectories) with the downloaded .m files to the Matlab path.
  • Download the data set from LINK.
  • A typical installation takes about 10 minutes.

Instructions for use

  • Type Main_Drosophila_Behaviour in the Command Window

Dependencies

System requirements

Windows 10 64bits
Intel i7
8 GB RAM
MatlabR2016a or higher
MATLAB Statistics Toolbox

Please contact us with any questions, bug reports, and general feedback:

Marton Kajtor, Balint Kiraly and Balazs Hangya
hangya.balazs@koki.hu

About

Matlab code for the study titled 'Altered reactivity to threatening stimuli in Drosophila models of Parkinson’s disease, revealed by a trial-based assay'.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages