Desai NS, Zhong C, Kim R, Talmage DA, Role LW. A simple MATLAB toolbox for analyzing calcium imaging data in vitro and in vivo.
J Neurosci Methods 2024;
409:110202. [PMID:
38906335 PMCID:
PMC11289828 DOI:
10.1016/j.jneumeth.2024.110202]
[Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 04/05/2024] [Revised: 06/06/2024] [Accepted: 06/12/2024] [Indexed: 06/23/2024]
Abstract
BACKGROUND
Fluorescence imaging of calcium dynamics in neuronal populations is powerful because it offers a way of relating the activity of individual cells to the broader population of nearby cells. The method's growth across neuroscience has particularly been driven by the introduction of sophisticated mathematical techniques related to motion correction, image registration, cell detection, spike estimation, and population characterization. However, for many researchers, making good use of these techniques has been difficult because they have been devised by different workers and impose differing - and sometimes stringent - technical requirements on those who seek to use them.
NEW METHOD
We have built a simple toolbox of analysis routines that encompass the complete workflow for analyzing calcium imaging data. The workflow begins with preprocessing of data, includes motion correction and longitudinal image registration, detects active cells using constrained non-negative matrix factorization, and offers multiple options for estimating spike times and characterizing population activity. The routines can be navigated through a simple graphical user interface. Although written in MATLAB, a standalone version for researchers who do not have access to MATLAB is included.
RESULTS
We have used the toolbox on two very different preparations: spontaneously active brain slices and microendoscopic imaging from deep structures in awake behaving mice. In both cases, the toolbox offered a seamless flow from raw data all the way through to prepared graphs.
CONCLUSION
The field of calcium imaging has benefited from the development of numerous innovative mathematical techniques. Here we offer a simple toolbox that allows ordinary researchers to fully exploit these techniques.
Collapse