Git Product home page Git Product logo

ca_analysis's Introduction

This repository contains calcium imaging analysis scripts written MATLAB used for: "Regulation of subcellular dendritic synapse specificity by axon guidance cues" by Sales et al 2019. The scripts use the open microscopy bioformats package to read either .czi or .tif files, although they can be easily adapted for any file type.

To use the package, run Calcium_Imaging_Script and follow the prompt instructions.

There are two outputs of the Calcium_Imaging_Script.

1.  Variable output:   includes the registered image data, ROIs, stimulus metadata, raw traces, and DF/F traces.  This file will exist regardless of whether stimulus data was analyzed. 

2.  Trace_Data output: includes a structure containing the relevant variables used for analyzing stimulus data.

In order to generate the average stimulus traces across animals, run Average_Traces.m. This file will take all Trace_Data files you wish to average, and output an average simulus response graph as well as two .mat files:

1.  Average_Trace_Data:  Essentially all of the data used to calculate the average trace including included experiment names, pre/post-stimulus df values, and stimulus metadata.

2.  Post_stimulus_DF:  This contains a single vector which includes the post-stimulus DF values from each experiement.  

In order to generate the bargraph of DF/F changes across two conditions, run Average_Stim_Bar_Graph.m. This file will just take the post-stim_df values from two relevant conditions and make a bargraph and do basic stats.

DEPENDENCIES:

1. Bioformats: https://www.openmicroscopy.org/bio-formats/downloads/
2. ShadedErrorBar: https://github.com/raacampbell/shadedErrorBar

For any questions, contact me at [email protected] -Brandon Mark

ca_analysis's People

Contributors

bjm5164 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.