Background: Recording of the dark trough/light peak of the electrooculogram (EOG) remains a useful electrodiagnostic tool. Manual analysis of the recording is tedious and lengthy, and automated analysis needs to deal with artefacts due to suboptimal patient cooperation.
Methods: We present a novel method of automating the processing and analysis of raw EOG data using the open-source statistical software R.