The ERGtools2 package: A Toolset for Processing and Analysing Visual Electrophysiology Data

Moritz Lindner
DOI: https://doi.org/10.1101/2024.08.27.609856
2024-10-16
Abstract:Introduction: Visual electrophysiology techniques play a key role in assessing the functional integrity of the visual pathway. Recent advancements and applications demand flexible analysis tools. Heren, ERGtools2, an open-source R package designed for processing and analysing visual electrophysiology data is introduced. Methods: A dataset comprising Electroretinogram (ERG) recordings from both eyes of C57Bl/6J mice, subjected to standard ISCEV stimuli, was used to present the functionality of ERGtools2. ERGtools2 stores and organizes all recordings, metadata, and measurement information from individual examination in a single object, maintaining raw data throughout the analysis process. Results: A standard workflow is presented exemplifying how ERGtools2 can be used to efficiently import, pre-process and analyse ERG data. Following this workflow, basic ERG measurements like a and B-wave amplitudes and visualisation of a single exam as well as group statistics are obtained. Moreover, special use cases are described, including for the handling of noisy data and the storage of data in the HDF5 format to ensure long-term preservation and accessibility. ERGtools2 also provides a graphical interface. Discussion: ERGtools2 provides a comprehensive, flexible, and device-independent solution for visual electrophysiology data analysis. Its emphasis on maintaining raw data integrity, combined with advanced processing and analysis capabilities, makes it a useful tool for preclinical and clinical research applications. The open-source nature and the use of open data formats promote reproducibility and data sharing in visual neurosciences.
Neuroscience
What problem does this paper attempt to address?