Janelia Research Campus
Browse
ARCHIVE
TimeseriesANDAvg.zip (3.06 kB)
ARCHIVE
VisualFeaturesDuringCourtship.zip (468.81 kB)
ARCHIVE
VisualFeaturesDuringFFAgg.zip (16.95 kB)
1/0
3 files

Visual features during behavior and behavioral analysis code for "Social state alters vision using three circuit mechanisms in Drosophila"

software
posted on 2024-11-20, 00:10 authored by Catherine SchretterCatherine Schretter, Adriane Otopalik, Alice Robie

This repository contains the MATLAB code used in Schretter et al. 2024 ("Social state alters vision using three circuit mechanisms in Drosophila") to analyze visual features during female aggression and male courtship behavior and generate the behavioral timeseries and averages depicted in the figures. This code can also be found in the following GitHub repository: https://github.com/ceschretter/SocialState2024_Code.

This code was run using MATLAB_R2019a and the run time is less than 1 min for the timeseries and averages data. Depending on the size of the dataset, the run time for the visual features code can be 10 minutes.

The timeseries data and averages used the code in the following directory: TimeseriesANDAvg. Note: This code requires your data to be in the registered_trx.mat format from the FlyDisco pipeline (see GitHub repo: https://github.com/kristinbranson/FlyDiscoAnalysis and https://doi.org/10.1101/2024.11.04.621948 for more details on this pipeline). It has not been tested for compatibility with other inputs. Source data are supplied in the paper and in figshare (DOI: 10.25378/janelia.26847772). The output of this code is an csv file and this code was created by A. A. Robie and modified by C. E. Schretter.

Visual features during male courtship used the code in the following directory: VisualFeaturesDuringCourtship. Note: This code requires your data to be in the Caltech FlyTracker format. The data used for this code is supplied in the following figshare DOI: 10.25378/janelia.26847772. The outputs of this code are matlab plots and the code was created by A. Otopalik.

Visual features during female aggression used the following code: VisualFeaturesDuringFFAgg. Note: This code requires your data to be in the registered_trx.mat format from the FlyDisco pipeline (see GitHub repo: https://github.com/kristinbranson/FlyDiscoAnalysis and https://doi.org/10.1101/2024.11.04.621948 for more details on this pipeline). It has not been tested for compatibility with Caltech FlyTracker only output and will need to be modified if this or another input is used. The data used for this code is supplied in the following figshare DOI: 10.25378/janelia.26847772. The outputs of this code are matlab plots and the code was created by C. E. Schretter based on the VisualFeaturesDuringCourtship code from A. Otopalik.

If you have further questions, please feel free to contact: Catherine (Katie) Schretter at schretterc (at) janelia (dot) hhmi (dot) org or ceschretter (at) gmail (dot) com.

Funding

Howard Hughes Medical Institute

Simons Foundation Collaboration on the Global Brain

Using evolutionary variation to probe the neural basis for behavior

National Institute of Neurological Disorders and Stroke

Find out more...

History

Usage metrics

    Janelia Research Campus

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC