FibPho: Analysis Protocol

Sasha Burwell

Published: 2024-04-16 DOI: 10.17504/protocols.io.bp2l62nrzgqe/v1

Abstract

This protocol details the analysis of the fiber photometry data.

Steps

Analysis Protocol

1.

Each animal has one folder per recording session generated by Synapse with all the fiber photometry recording data from that session. Make a copy of the

trialData.mat 
``` generated by the behavior code from that same session and add it to the folder.

2.

To analyze the fiber photometry signals time-locked to the behavioral trials, across multiple behavior sessions for one animal, run the MATLAB code

fibpho_averaging_acrossdays(Cohort, Mouse, Bank)
  • This saves a
Cohort_Mouse_allTrials_fibdat_dFF.mat
``` variable with the raw 415nm and 465nm signals and the calculated dF/F signal per behavior trial

3.

Copy the

Cohort_Mouse_allTrials_fibdat_dFF.mat
``` variables from all mice in an experimental condition into one folder

4.

Run the MATLAB code

fibpho_averaging_acrossMice
``` to combine and analyze trial-based fiber photometry signals across animals.

4.1.

Modify the

“ExperimentalStage” 
```variable (line 39) to generate the data for the specific session/trials you are interested in.

4.2.

This code calculates a mean dF/F signal per animal for the cue and reward time windows, and prints them to the command line.

4.3.

This code also generates the across time waveform plots for visualization of mean and SEM, as in Figure 3 and Ext. Figure 4.

5.

Use the MATLAB code

BootFitDifferencePlot
``` to analyze the difference between groups and generate Ext. Fig 4b.

5.1.

X values = cue-burst sessions 6-10 (

ExperimentalStage = ‘XCRIT’
```).

5.2.

Y values = reward-omission pause first 4 extinction trials (

ExperimentalStage = ‘B1’
```).

5.3.

Exclude mice with recording signals too low to detect pauses (X < 1).

6.

Use the MATLAB code

TwoGroupsMeanDiff
``` with the mean dF/F values of the included mice (calculated above) to generate the Gardner-Altman plots in Figure 3 and Ext. Figure 4

推荐阅读

Nature Protocols
Protocols IO
Current Protocols
扫码咨询