{"doi":"10.1101/2023.12.21.572882","title":"Assessing cross-contamination in spike-sorted electrophysiology data","abstract":"<jats:title>ABSTRACT</jats:title>\n                <jats:p>Recent advances in extracellular electrophysiology now facilitate the recording of spikes from hundreds or thousands of neurons simultaneously. This has necessitated both the development of new computational methods for spike sorting and better methods to determine spike sorting accuracy. One longstanding method of assessing the false discovery rate (FDR) of spike sorting – the rate at which spikes are misassigned to the wrong cluster – has been the rate of inter-spike-interval (ISI) violations. Despite their near ubiquitous usage in spike sorting, our understanding of how exactly ISI violations relate to FDR, as well as best practices for using ISI violations as a quality metric, remain limited. Here, we describe an analytical solution that can be used to predict FDR from ISI violation rate. We test this model in silico through Monte Carlo simulation, and apply it to publicly available spike-sorted electrophysiology datasets. We find that the relationship between ISI violation rate and FDR is highly nonlinear, with additional dependencies on firing rate, the correlation in activity between neurons, and contaminant neuron count. Predicted median FDRs in public datasets were found to range from 3.1% to 50.0%. We find that stochasticity in the occurrence of ISI violations as well as uncertainty in cluster-specific parameters make it difficult to predict FDR for single clusters with high confidence, but that FDR can be estimated accurately across a population of clusters. Our findings will help the growing community of researchers using extracellular electrophysiology assess spike sorting accuracy in a principled manner.</jats:p>\n                <jats:sec>\n                  <jats:title>SIGNIFICANCE STATEMENT</jats:title>\n                  <jats:p>High-density silicon probes are widely used to record the activity of large populations of neurons while animals are engaged in complex behavior. In this approach, each electrode records spikes from many neurons, and “spike sorting” algorithms are used to group the spikes originating from each neuron together. This process is error-prone, however, and so the ability to assess spike sorting accuracy is essential for properly interpreting neural activity. The rate of inter-spike-interval (ISI) violations is commonly used to assess spike sorting accuracy, but the relationship between ISI violation rate and sorting accuracy is complex and poorly understood. Here, we describe this relationship in detail and provide guidelines for how to properly use ISI violation rate to assess spike sorting accuracy.</jats:p>\n                </jats:sec>","journal":null,"year":null,"id":622220,"datarank":0.24141568686511508,"base_score":1.6094379124341003,"endowment":1.6094379124341003,"self_citation_contribution":0.24141568686511508,"citation_network_contribution":0.0,"self_endowment_contribution":0.24141568686511508,"citer_contribution":0.0,"corpus_percentile":null,"corpus_rank":null,"citation_count":4,"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":660080,"name":"Michael N. Economo","orcid":"0000-0001-9893-1505","position":1,"is_corresponding":false},{"id":1270571,"name":"Jack P. Vincent","orcid":"0000-0001-9066-2494","position":0,"is_corresponding":false}],"reference_count":0,"raw_metadata":{"has_enrichment":true,"resolved":true,"title":"Assessing cross-contamination in spike-sorted electrophysiology data","abstract":"<jats:title>ABSTRACT</jats:title>\n                <jats:p>Recent advances in extracellular electrophysiology now facilitate the recording of spikes from hundreds or thousands of neurons simultaneously. This has necessitated both the development of new computational methods for spike sorting and better methods to determine spike sorting accuracy. One longstanding method of assessing the false discovery rate (FDR) of spike sorting – the rate at which spikes are misassigned to the wrong cluster – has been the rate of inter-spike-interval (ISI) violations. Despite their near ubiquitous usage in spike sorting, our understanding of how exactly ISI violations relate to FDR, as well as best practices for using ISI violations as a quality metric, remain limited. Here, we describe an analytical solution that can be used to predict FDR from ISI violation rate. We test this model in silico through Monte Carlo simulation, and apply it to publicly available spike-sorted electrophysiology datasets. We find that the relationship between ISI violation rate and FDR is highly nonlinear, with additional dependencies on firing rate, the correlation in activity between neurons, and contaminant neuron count. Predicted median FDRs in public datasets were found to range from 3.1% to 50.0%. We find that stochasticity in the occurrence of ISI violations as well as uncertainty in cluster-specific parameters make it difficult to predict FDR for single clusters with high confidence, but that FDR can be estimated accurately across a population of clusters. Our findings will help the growing community of researchers using extracellular electrophysiology assess spike sorting accuracy in a principled manner.</jats:p>\n                <jats:sec>\n                  <jats:title>SIGNIFICANCE STATEMENT</jats:title>\n                  <jats:p>High-density silicon probes are widely used to record the activity of large populations of neurons while animals are engaged in complex behavior. In this approach, each electrode records spikes from many neurons, and “spike sorting” algorithms are used to group the spikes originating from each neuron together. This process is error-prone, however, and so the ability to assess spike sorting accuracy is essential for properly interpreting neural activity. The rate of inter-spike-interval (ISI) violations is commonly used to assess spike sorting accuracy, but the relationship between ISI violation rate and sorting accuracy is complex and poorly understood. Here, we describe this relationship in detail and provide guidelines for how to properly use ISI violation rate to assess spike sorting accuracy.</jats:p>\n                </jats:sec>","is_dataset_classified":null,"base_score":1.6094379124341003,"endowment":1.6094379124341003,"datacite_reuse_total":0,"file_count":0,"downloads":0,"views":0,"has_version_chain":false,"is_dataset":false,"is_oa":false,"pmid":"38187738","pmcid":null,"openalex_id":"https://openalex.org/W4390139972","authors":[],"funders":[{"funder_name":"National Institutes of Health","grant_id":"3R01NS121409-02S1","title":"Linking Motor Cortex Activity and Movement in the Mouse Orofacial System"},{"funder_name":"NINDS NIH HHS","grant_id":"R01 NS121409","title":null}],"total_grants":2,"fwci":null,"citation_percentile":null,"influential_citations":0,"citation_trend":[{"year":2024,"count":2},{"year":2025,"count":1},{"year":2026,"count":1}],"oa_status":"green","license":"cc-by","oa_locations":[{"url":"https://www.biorxiv.org/content/biorxiv/early/2023/12/23/2023.12.21.572882.full.pdf","host_type":"repository"},{"url":"https://www.biorxiv.org/content/biorxiv/early/2023/12/23/2023.12.21.572882.full.pdf","host_type":"repository"},{"url":"https://syndication.highwire.org/content/doi/10.1101/2023.12.21.572882","host_type":"publisher"},{"url":"https://doi.org/10.1101/2023.12.21.572882","host_type":"repository"},{"url":"https://pubmed.ncbi.nlm.nih.gov/38187738","host_type":"repository"},{"url":"https://www.ncbi.nlm.nih.gov/pmc/articles/10769346","host_type":"repository"},{"url":"https://www.ncbi.nlm.nih.gov/pubmed/38187738","host_type":"repository"},{"url":"https://pmc.ncbi.nlm.nih.gov/articles/PMC10769346/pdf/nihpp-2023.12.21.572882v1.pdf","host_type":"repository"},{"url":"https://doi.org/10.1523/eneuro.0554-23.2024","host_type":""},{"url":"https://pubmed.ncbi.nlm.nih.gov/39095090","host_type":""},{"url":"http://dx.doi.org/10.1523/ENEURO.0554-23.2024","host_type":""},{"url":"http://dx.doi.org/10.1101/2023.12.21.572882","host_type":""},{"url":"https://doi.org/https://doi.org/10.1101/2023.12.21.572882","host_type":""}],"fields_of_study":["Neural dynamics and brain function","Neuroscience and Neural Engineering","EEG and Brain-Computer Interfaces","0301 basic medicine","0303 health sciences","03 medical and health sciences"],"mesh_terms":[],"keywords":["Spike sorting","Spike (software development)","Computer science","Sorting","Metric (unit)","Data mining","Pattern recognition (psychology)","Artificial intelligence","Algorithm","Neurons","Models, Neurological","610","Action Potentials","Signal Processing, Computer-Assisted","Research Article: Methods/New Tools","Article","Electrophysiological Phenomena","Electrophysiology","Mice","Animals","Computer Simulation","Monte Carlo Method"],"sdg_mappings":[],"linked_datasets":[],"clinical_trials":[],"software_tools":[],"database_accessions":[],"source":"live","citation_network_status":"fetched"},"created_at":"2026-08-03T18:43:14.176347Z","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":[]}