{"doi":"10.1371/journal.pcbi.1009432","title":"Tracking calcium dynamics from individual neurons in behaving animals","abstract":"<jats:p>Measuring the activity of neuronal populations with calcium imaging can capture emergent functional properties of neuronal circuits with single cell resolution. However, the motion of freely behaving animals, together with the intermittent detectability of calcium sensors, can hinder automatic monitoring of neuronal activity and their subsequent functional characterization. We report the development and open-source implementation of a multi-step cellular tracking algorithm (Elastic Motion Correction and Concatenation or EMC<jats:sup>2</jats:sup>) that compensates for the intermittent disappearance of moving neurons by integrating local deformation information from detectable neurons. We demonstrate the accuracy and versatility of our algorithm using calcium imaging data from two-photon volumetric microscopy in visual cortex of awake mice, and from confocal microscopy in behaving <jats:italic>Hydra</jats:italic>, which experiences major body deformation during its contractions. We quantify the performance of our algorithm using ground truth manual tracking of neurons, along with synthetic time-lapse sequences, covering a wide range of particle motions and detectability parameters. As a demonstration of the utility of the algorithm, we monitor for several days calcium activity of the same neurons in layer 2/3 of mouse visual cortex <jats:italic>in vivo</jats:italic>, finding significant turnover within the active neurons across days, with only few neurons that remained active across days. Also, combining automatic tracking of single neuron activity with statistical clustering, we characterize and map neuronal ensembles in behaving <jats:italic>Hydra</jats:italic>, finding three major non-overlapping ensembles of neurons (CB, RP1 and RP2) whose activity correlates with contractions and elongations. Our results show that the EMC<jats:sup>2</jats:sup> algorithm can be used as a robust and versatile platform for neuronal tracking in behaving animals.</jats:p>","journal":"PLOS Computational Biology","year":2021,"id":596594,"datarank":0.5333022092234121,"base_score":3.5553480614894135,"endowment":3.5553480614894135,"self_citation_contribution":0.5333022092234121,"citation_network_contribution":0.0,"self_endowment_contribution":0.5333022092234121,"citer_contribution":0.0,"corpus_percentile":null,"corpus_rank":null,"citation_count":34,"citer_count":0,"citers_with_citation_signal":0,"citers_with_endowment":0,"datacite_reuse_total":0,"is_dataset":false,"is_dataset_confidence":null,"is_data_producer":false,"deposit_databanks":null,"is_oa":false,"file_count":0,"downloads":0,"has_version_chain":false,"published_date":null,"fair_score":null,"fair_percentile":null,"algorithm_id":"datarank_citation_only_1hop_v6","ranking_scope":"data_only","authors":[{"id":1080576,"name":"Alison Hanson","orcid":"0000-0002-9498-1238","position":1,"is_corresponding":false},{"id":1477118,"name":"Jesús Pérez-Ortega","orcid":"0000-0001-8502-1692","position":2,"is_corresponding":false},{"id":618244,"name":"Adrienne L. Fairhall","orcid":"0000-0001-6779-953X","position":3,"is_corresponding":false},{"id":308417,"name":"Rafael Yuste","orcid":"0000-0003-4206-497X","position":4,"is_corresponding":false},{"id":1527987,"name":"Thibault Lagache","orcid":"0000-0002-7033-4677","position":0,"is_corresponding":false}],"reference_count":0,"raw_metadata":{"has_enrichment":true,"resolved":true,"title":"Tracking calcium dynamics from individual neurons in behaving animals","abstract":"<jats:p>Measuring the activity of neuronal populations with calcium imaging can capture emergent functional properties of neuronal circuits with single cell resolution. However, the motion of freely behaving animals, together with the intermittent detectability of calcium sensors, can hinder automatic monitoring of neuronal activity and their subsequent functional characterization. We report the development and open-source implementation of a multi-step cellular tracking algorithm (Elastic Motion Correction and Concatenation or EMC<jats:sup>2</jats:sup>) that compensates for the intermittent disappearance of moving neurons by integrating local deformation information from detectable neurons. We demonstrate the accuracy and versatility of our algorithm using calcium imaging data from two-photon volumetric microscopy in visual cortex of awake mice, and from confocal microscopy in behaving <jats:italic>Hydra</jats:italic>, which experiences major body deformation during its contractions. We quantify the performance of our algorithm using ground truth manual tracking of neurons, along with synthetic time-lapse sequences, covering a wide range of particle motions and detectability parameters. As a demonstration of the utility of the algorithm, we monitor for several days calcium activity of the same neurons in layer 2/3 of mouse visual cortex <jats:italic>in vivo</jats:italic>, finding significant turnover within the active neurons across days, with only few neurons that remained active across days. Also, combining automatic tracking of single neuron activity with statistical clustering, we characterize and map neuronal ensembles in behaving <jats:italic>Hydra</jats:italic>, finding three major non-overlapping ensembles of neurons (CB, RP1 and RP2) whose activity correlates with contractions and elongations. Our results show that the EMC<jats:sup>2</jats:sup> algorithm can be used as a robust and versatile platform for neuronal tracking in behaving animals.</jats:p>","is_dataset_classified":null,"base_score":3.5553480614894135,"endowment":3.5553480614894135,"datacite_reuse_total":0,"file_count":0,"downloads":0,"views":0,"has_version_chain":false,"is_dataset":false,"is_oa":false,"pmid":"34624016","pmcid":null,"openalex_id":"https://openalex.org/W3204686493","authors":[],"funders":[{"funder_name":"National Science Foundation","grant_id":"CRCNS 1822550","title":null},{"funder_name":"National Eye Institute","grant_id":"R01EY011787","title":null},{"funder_name":"National Institute of Mental Health","grant_id":"R01MH115900","title":null},{"funder_name":"DoD Vannevar Bush Faculty Award","grant_id":"ONR N000142012828","title":null},{"funder_name":"National Institute of Mental Health","grant_id":"T32MH018870","title":null},{"funder_name":"CONACYT","grant_id":"CVU365863","title":null},{"funder_name":"Simons Foundation","grant_id":"542975SPI","title":null},{"funder_name":"National Institutes of Health","grant_id":"2T32MH018870-06","title":"SCHIZOPHRENIA RESEARCH TRAINING"},{"funder_name":"Fundação para a Ciência e a Tecnologia, I.P.","grant_id":"ARTEMIS/0003/2013","title":"Embedded Multi-core Systems for Mixed Criticality Applications inDynamic and Changeable Real-Time Environments"},{"funder_name":"Fundação para a Ciência e a Tecnologia, I.P.","grant_id":"ARTEMIS/0001/2013","title":"Embedded multi-core systems for mixed criticality applications in dynamic and changeable real-time environments"},{"funder_name":"National Institutes of Health","grant_id":"5R01EY011787-06","title":"Imaging Functional Connectivity in Visual Cortex"},{"funder_name":"National Science Foundation","grant_id":"1822550","title":"CRCNS Research Project: Solving the neural code of Hydra"},{"funder_name":"Fundação para a Ciência e a Tecnologia, I.P.","grant_id":"ARTEMIS/0002/2013","title":"Embedded multi-core systems for mixed criticality applications in dynamic and changeable real-time environments"},{"funder_name":"National Institutes of Health","grant_id":"5R01MH115900-02","title":"Effect of GABAergic inhibition of dendritic spines on synaptic pruning in the medial prefrontal cortex during adolescence"}],"total_grants":14,"fwci":3.1128,"citation_percentile":0.92169007,"influential_citations":0,"citation_trend":[{"year":2021,"count":1},{"year":2022,"count":9},{"year":2023,"count":9},{"year":2024,"count":8},{"year":2025,"count":5},{"year":2026,"count":2}],"oa_status":"gold","license":"cc-by","oa_locations":[{"url":"https://doi.org/10.1371/journal.pcbi.1009432","host_type":"journal"},{"url":"https://doi.org/10.1371/journal.pcbi.1009432","host_type":"publisher"},{"url":"https://dx.plos.org/10.1371/journal.pcbi.1009432","host_type":"publisher"},{"url":"https://pubmed.ncbi.nlm.nih.gov/34624016","host_type":"repository"},{"url":"https://hal.science/hal-03700026","host_type":"repository"},{"url":"https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1009432","host_type":"repository"},{"url":"https://hdl.handle.net/1912/28630","host_type":"repository"},{"url":"https://doaj.org/article/483f18b75a76401cabb10c2e695825ac","host_type":"repository"},{"url":"https://www.ncbi.nlm.nih.gov/pmc/articles/8528277","host_type":"repository"},{"url":"https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1009432&type=printable","host_type":""},{"url":"http://dx.doi.org/10.1371/journal.pcbi.1009432","host_type":""},{"url":"https://dx.doi.org/10.1371/journal.pcbi.1009432","host_type":""},{"url":"https://doi.org/https://doi.org/10.1371/journal.pcbi.1009432","host_type":""}],"fields_of_study":["Neural dynamics and brain function","Neuroscience and Neural Engineering","Photoreceptor and optogenetics research","0301 basic medicine","0206 medical engineering","02 engineering and technology","03 medical and health sciences"],"mesh_terms":["Algorithms","Animals","Behavior, Animal","Calcium","Neurons","Visual Cortex","Computational Biology","Mice","Cell Tracking"],"keywords":["Calcium imaging","Premovement neuronal activity","Tracking (education)","Neuroscience","Neuron","Calcium","Concatenation (mathematics)","Biological neural network","Computer science","Biological system","Visual cortex","Artificial intelligence","Biology","Chemistry","Mathematics","Psychology","Neurons","Behavior, Animal","QH301-705.5","590","Computational Biology","Mice","Cell Tracking","Animals","Biology (General)","Algorithms","Research Article"],"sdg_mappings":[{"sdg_number":0,"sdg_label":"Peace, Justice and strong institutions"}],"linked_datasets":[],"clinical_trials":[],"software_tools":[],"database_accessions":[],"source":"live","citation_network_status":"fetched"},"created_at":"2026-07-28T10:44:38.281454Z","pmid":null,"pmcid":null,"fwci":null,"citation_percentile":null,"influential_citations":0,"oa_status":null,"license":null,"views":0,"total_file_size_bytes":0,"version_count":0,"fair_f":null,"fair_a":null,"fair_i":null,"fair_r":null,"fair_zscore":null,"fair_rationale":null,"fair_model":null,"fair_agent_version":null,"fair_fulltext_source":null,"fair_has_llm":null,"fair_computed_at":null,"clinical_trials":[],"software_tools":[],"db_accessions":[],"linked_datasets":[],"topics":[]}