Spike inference from mouse spinal cord calcium imaging data

Peter Rupprecht,Wei Fan,Steve J. Sullivan,Fritjof Helmchen,Andrei Sdrulla
DOI: https://doi.org/10.1101/2024.07.17.603957
2024-07-22
Abstract:Calcium imaging is a key method to record the spiking activity of identified and genetically targeted neurons. However, the observed calcium signals are only an indirect readout of the underlying electrophysiological events (single spikes or bursts of spikes) and require dedicated algorithms to recover the spike rate. These algorithms for spike inference can be optimized using ground truth data from combined electrical and optical recordings, but it is not clear how such optimized algorithms perform on cell types and brain regions for which ground truth does not exist. Here, we use a state-of-the-art algorithm based on supervised deep learning (CASCADE) and a non-supervised algorithm based on non-negative deconvolution (OASIS) to test spike inference in spinal cord neurons. To enable these tests, we recorded specific ground truth from glutamatergic and GABAergic somatosensory neurons in the dorsal horn of spinal cord in mice of both sexes. We find that CASCADE and OASIS algorithms that were designed for cortical excitatory neurons generalize well to both spinal cord cell types. However, CASCADE models re-trained on our ground truth further improved the performance, resulting in a more accurate inference of spiking activity from spinal cord neurons. We openly provide re-trained models that can be flexibly applied to spinal cord data of variable noise levels and frame rates. Together, our ground-truth recordings and analyses provide a solid foundation for the interpretation of calcium imaging data from spinal cord and showcase how spike inference can generalize between different regions of the nervous system.
Neuroscience
What problem does this paper attempt to address?
The paper primarily aims to address the following issues: ### Research Background and Objectives - **Challenges in the Application of Calcium Imaging Technology**: Calcium imaging is a key method for recording the spiking activity of specific and genetically targeted neurons. However, the observed calcium signals are only indirect readouts of underlying electrophysiological events (individual spikes or bursts of spikes), requiring specialized algorithms to recover spike rates. - **Limitations of Existing Algorithms**: Current algorithms are typically based on supervised learning (e.g., CASCADE) or unsupervised learning (e.g., OASIS). They perform well on cortical excitatory neurons, but their performance on other brain regions and cell types remains unclear. ### Issues Addressed - **Algorithm Generalization Ability**: The study aims to evaluate whether these algorithms can generalize well to different cell types in the spinal cord, particularly glutamatergic and γ-aminobutyric acid (GABAergic) sensory neurons. - **Optimizing Algorithm Performance**: By using specific benchmark data from spinal cord glutamatergic and GABAergic sensory neurons, these algorithms are retrained to improve their performance on spinal cord data. - **Providing General Models**: Offering retrained models that can be flexibly applied to spinal cord data with different noise levels and frame rates. ### Main Contributions - **Benchmark Dataset**: Specific benchmark data were obtained from mouse spinal cord glutamatergic and GABAergic sensory neurons through simultaneous patch-clamp recordings and calcium imaging. - **Algorithm Evaluation and Improvement**: The CASCADE and OASIS algorithms were tested using these benchmark data, and it was found that algorithms designed for cortical excitatory neurons also generalize well to spinal cord cell types. Furthermore, by retraining these algorithms, the accuracy of spike activity inference for spinal cord neurons was significantly improved. - **Public Resources**: Retrained models are provided, which can be flexibly applied under different noise levels and frame rates, laying a solid foundation for interpreting spinal cord calcium imaging data and demonstrating how spike inference can generalize across different regions of the nervous system.