bioRxiv Science⌕ Search

Biology subjects

Hartner, J.

Publications and source records attributed to Hartner, J..

2 recordsLinked to original sources

SpikeCleaner: An Algorithm to Label Unit Quality After Automated Spike Sorting

GapAutomated spike sorting algorithms have revolutionized the way neuronal activity is extracted from extracellular recordings, yet they remain imperfect. Specifically, inaccurate acceptance of noise-based units not only leaves researchers with clusters that require extensive manual curation, an essential but time-consuming process, that also leads to significant subjectivity in the selection of units. In an era of high-density probes like Neuropixels, where an hour of data can exceed 80 GB, manual curation is no longer scalable, automation of standard criteria can speed data curation and ensure quality of datasets. Here, we developed a semi-automated curation pipeline to label the quality of units after automated curation by Kilosort. ApproachOur algorithm standardizes criteria for labeling of Noise, Multi-Unit Activity (MUA), and Good Units using a combination of spike rate, spike timing metrics (from autocorrelogram), and waveform-based physiological features such as peak amplitude, slopes, half-width, and inter-channel correlation. Based on these features, clusters are assigned standardized labels (good, noise, multi-unit activity) that can be imported directly into Phy, where they serve as curation aids rather than absolute classifications, supporting but not replacing expert judgment. Heuristically, "noise" units are those unlikely to be neuronal in origin; "MUA" includes units with significant neural contribution (i.e., neuronal waveform) but with some degree of clear imperfection to be further cleaned, and "good" units are those without any clear deviation from ideal unit criteria. By ensuring accurate selection of acceptable units, we enable robust downstream analyses such as neural decoding and longitudinal tracking of neuron identity. Thresholds for all metrics were chosen to maximize the matching of algorithm output to that of 2 expert manual curators. Of note, users may alter thresholds either based on their own judgment or using an included tool to semi-automatically find thresholds that optimize SpikeCleaner with their own expert curation. ResultsTo benchmark, we compared the outputs of our algorithm to expert-labels curated in Phy by two expert users across three recordings. SpikeCleaner achieved an average of 97% accuracy vs. experts & 92% F1 score in classifying Single Units. It achieved an accuracy of 97% & 92% F1 score in full-category agreement (SU, MUA, Noise), and 97% accuracy & 95% F1 score in distinguishing Neuronal vs. Non-Neuronal units.

neuroscience↗

Mouse Bio-behavioral Phenotyping Using a Digital Homecage Framework for Long-timescale, High-resolution, and Multi-factor Data Collection and Analytics

MOTIVATION Long-term monitoring of behavioral and physiological processes is critical for understanding complex brain-based phenomena and disorders that develop over extended periods, such as chronic stress, circadian disorders, and metabolic conditions. While digital phenotyping is available in humans using smart devices, there remains a deficit in rodent models. To address this lack of long-term rodent phenotyping, we introduce the "Digital Homecage" (DHC) system. Our system uses accessible components and is designed for seamless integration with brain recording technologies. The Digital Homecage (DHC) allows uninterrupted, long-timescale recording of more than 20 behavioral metrics in single-housed mice, captured at sub-second resolution via video, operant interactions, and wheel-running data. This report demonstrates the DHCs capacity to enable continuous, automated tracking of behaviors like actigraphy, sleep, grooming, and food choice options over weeks, thereby opening up new avenues for longitudinal analyses of chronic conditions. Data collected reveal circadian patterns in multiple spontaneous behaviors, aligning with known nocturnal tendencies. The systems potential to facilitate groundbreaking observations on the long-term behavioral correlates of various neuropsychiatric syndromes is aided by open-source software and relatively low cost. The DHC sets the stage for community-driven innovation, potentially transforming our approach to studying complex traits of brain function and behavior in laboratory settings.

animal behavior and cognition↗