You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,32 +17,32 @@ sigTOOL must be run at least once in a given Matlab session before the function
17
17
Start with the Import folder, which contains ImportPatchData, which calls on SplitSeries and ImportHEKAtoMat.
18
18
19
19
Katta et al. 2018
20
-
=================
20
+
---------
21
21
22
22
Code for the Katta et al. (2018) preprint "Progressive recruitment of distal MEC-4 channels determines touch response strength in C. elegans" (https://www.biorxiv.org/content/10.1101/587014v1) and any published articles resulting from this manuscript can be found in the folder Analysis/SK. Simulated data were generated separately and loaded into Matlab with this code for making plots.
23
23
24
-
### Important scripts are listed below:
24
+
####Important scripts are listed below:
25
25
26
-
AnalyzePatchData.m is a general script with examples for importing data and metadata, checking for bad sweeps, and running various types of analyses.
26
+
**AnalyzePatchData.m** is a general script with examples for importing data and metadata, checking for bad sweeps, and running various types of analyses.
27
27
28
-
AntVsPost_VoltageAttenuation_180803.m runs the analysis for displacement steps applied either anterior or posterior to the cell body as seen in Fig. 1, 3, 4, and 5. Outputs data to plot I-d and Q-d curves, as well as activation and decay rates. Also includes plots of representative traces used in Fig. 3 and 9.
28
+
**AntVsPost_VoltageAttenuation_180803.m** runs the analysis for displacement steps applied either anterior or posterior to the cell body as seen in Fig. 1, 3, 4, and 5. Outputs data to plot I-d and Q-d curves, as well as activation and decay rates. Also includes plots of representative traces used in Fig. 3 and 9.
29
29
30
-
Velocity_VoltageAtt_180913.m runs the analysis for trapezoidal stimuli applied anterior to the cell body as seen in Fig. 6 and 7. Outputs data for both onset and offset responses to plot I-d and Q-d curves, as well as activation and decay rates, and off/on ratio. Also includes plots of representative traces used in Fig. 6.
30
+
**Velocity_VoltageAtt_180913.m** runs the analysis for trapezoidal stimuli applied anterior to the cell body as seen in Fig. 6 and 7. Outputs data for both onset and offset responses to plot I-d and Q-d curves, as well as activation and decay rates, and off/on ratio. Also includes plots of representative traces used in Fig. 6.
31
31
32
-
SinePowerSpec.m runs the analysis for sinusoidal stimuli applied anterior to the cell body as seen in Fig. 8. Plots the mean power spectral density by frequency (including the stimulus photodiode trace). Loads simulated sine responses and plots mean steady-state current and rms for both experimental and simulated data. Also includes representative experimental traces used in Fig. 8 and 9.
32
+
**SinePowerSpec.m** runs the analysis for sinusoidal stimuli applied anterior to the cell body as seen in Fig. 8. Plots the mean power spectral density by frequency (including the stimulus photodiode trace). Loads simulated sine responses and plots mean steady-state current and rms for both experimental and simulated data. Also includes representative experimental traces used in Fig. 8 and 9.
33
33
34
-
Sim_Distance_Comparison.m plots Fig. 9's simulated and experimental representative on/off traces, as well as simulated average responses for individual channels under different stimulus conditions.
34
+
**Sim_Distance_Comparison.m** plots Fig. 9's simulated and experimental representative on/off traces, as well as simulated average responses for individual channels under different stimulus conditions.
35
35
36
-
intVsDiss_Steps.m does a pilot comparison of the minimally dissected ("intact") preparation vs. the regular ("dissected") preparation.
36
+
**intVsDiss_Steps.m** does a pilot comparison of the minimally dissected ("intact") preparation vs. the regular ("dissected") preparation.
37
37
38
-
### Other functions necessary for understanding the details of analysis are listed below.
38
+
####Other functions necessary for understanding the details of analysis are listed below.
39
39
40
-
IdAnalysis.m takes the mean of technical replicates within a recording by grouping stimuli considered to be the same, calculates the peak current in response to each stimulus (on, off, repeated steps) within each mean sweep, and outputs a cell array with mean traces, stimulus parameters, peak current and kinetics. This function can be used when analyzing by stimulus displacement, position, speed, or inter-stimulus interval. It relies on newStepFind and findMRCs.
40
+
**IdAnalysis.m** takes the mean of technical replicates within a recording by grouping stimuli considered to be the same, calculates the peak current in response to each stimulus (on, off, repeated steps) within each mean sweep, and outputs a cell array with mean traces, stimulus parameters, peak current and kinetics. This function can be used when analyzing by stimulus displacement, position, speed, or inter-stimulus interval. It relies on newStepFind and findMRCs.
41
41
42
-
newStepFind.m is used for calculating the displacement, speed, and timecourse of the stimuli from an efference copy of the stimulus command signal after passing through the LPF-8 Bessel filter but before full amplification by the Crawford amplifier, allowing a more accurate representation of the stimulus than reconstruction from the stimTree in ephysData allows (also, stimTree functionality was added much later). It can also be used with the photodiode signal for greater accuracy if the photodiode signal has low noise.
42
+
**newStepFind.m** is used for calculating the displacement, speed, and timecourse of the stimuli from an efference copy of the stimulus command signal after passing through the LPF-8 Bessel filter but before full amplification by the Crawford amplifier, allowing a more accurate representation of the stimulus than reconstruction from the stimTree in ephysData allows (also, stimTree functionality was added much later). It can also be used with the photodiode signal for greater accuracy if the photodiode signal has low noise.
43
43
44
-
findMRCs.m smooths traces given to it, sets a threshold for peak detection based on the baseline noise, and calculates activation and decay time constants by one of two specified methods.
44
+
**findMRCs.m** smooths traces given to it, sets a threshold for peak detection based on the baseline noise, and calculates activation and decay time constants by one of two specified methods.
45
45
46
-
FrequencyAnalysis.m is used for sine stimuli with flanking square steps. It calculates steady state current and rms during steady-state, as well as peak current responses to the steps, and attenuation of step responses. It also allows normalization of steady-state and rms to the peak current for a step.
46
+
**FrequencyAnalysis.m** is used for sine stimuli with flanking square steps. It calculates steady state current and rms during steady-state, as well as peak current responses to the steps, and attenuation of step responses. It also allows normalization of steady-state and rms to the peak current for a step.
0 commit comments