$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
To validate the analysis method described above, we quantified OKR tracking gain on wave traces collected from wild-type mice and a conditional knockout mutant with a known tracking deficit. In addition, to test the broader applicability of our analysis method, we analyzed traces derived from a separate cohort of wild-type mice acquired using a different video-oculography collection method. The automatic filtering of saccades facilitates OKR data processing and analysis (Figure 3). Using recordings from unidirectional and sinusoidal stimuli (Figure 1D), we calculated OKR tracking gains in the four cardinal directions (Figure 2F) for wild-type animals (n = 13) to unidirectional stimuli and also tracking gains in response to horizontal and vertical sinusoidal stimuli (Figure 4). The disparity in tracking ability relative to stimulus direction for both unidirectional and sinusoidal stimuli is consistently observed in all wild-type mice, with equally robust horizontal responses that demonstrate significantly higher tracking gains than vertical responses, as has been described2. Further, asymmetric tracking gains between upward and downward responses are also observed in wild-type mice using both video-oculography collection methods, as has been previously reported2,10. The relative magnitudes and the consistency of tracking gains compared to published characterization of OKR responses indicate that tracking gains calculated using the software accurately reflect tracking ability. In addition to single-directional gain calculations, horizontal and vertical eye movement can be modeled simultaneously (Figure 5), allowing for a three-dimensional reconstruction of eye movement in response to a given stimulus. This provides an additional quantification capability that is useful for future studies investigating cross-coupled horizontal and vertical responses9.
To validate the utility of the software for identifying significant behavioral changes across different experimental conditions, we re-analyzed our published data9 to confirm that deficits in vertical tracking assessed in that study by manual counting of fast phase saccades are reflected in tracking gains using the methodology presented here. Previous work shows that genetic inactivation in the retina of the transcription factor T-box Transcription Factor 5 (Tbx5) through conditional knockout using Protocadherin 9-Cre (Pcdh9-Cre) causes specific loss of upward-tuned ON Direction-Selective Ganglion Cells (up-oDSGCs), and that Tbx5 Flox/Flox (Tbx5f/f); Pcdh9-Cre mutants exhibit specific loss of vertical OKR tracking9. Quantitative analysis using the method described here shows that Tbx5f/f; Pcdh9-Cre animals retain normal horizontal tracking gains (Figure 6A), similar to those described previously and obtained by manual counting of fast phase saccades (ETMs) (Figure 2F); however, these mice show significant loss of vertical tracking, with near zero gains in response to both upward and downward stimuli (Figure 6B,C). Additionally, analysis of sinusoidal responses confirms that Tbx5 cKO animals exhibit greater horizontal tracking gains while showing significantly decreased vertical tracking (Figure 6D-F). A reanalysis of this previously described phenotype using PyOKR demonstrates the precision and sensitivity of this new methodology, which allows for quantitative comparisons of OKR responses in mice of different genetic strains.
Finally, we analyzed wild-type vertical OKR traces collected at UCSF to validate the software application's utility with different video-oculography methods and stimulus parameters. Data from UCSF were collected using a hemispherical projection system in which moving gratings are presented to the mouse through the reflection of a 405 nm wavelength projector onto a hemisphere surrounding the head-fixed animal10 (Figure 7A). Unidirectional vertical gratings were presented to mice at a speed of 10 degrees per second, and the OKR responses were recorded over 60-s intervals (Figure 7B,C). Vertical traces were quantitatively analyzed via the PyOKR, and upward responses were compared to downward responses (Figure 7D). Upward responses were significantly stronger than downward, as expected10; however, tracking gains were slightly reduced compared to traces recorded at JHUSOM (Figure 2F). In addition, the quantification of sinusoidal responses was analyzed via PyOKR (Figure 7E), and a significant asymmetry in the vertical responses to sinusoidally moving stimuli is reflected in calculated gains (Figure 7F). Differences between gain values collected at JHUSOM and UCSF can be attributed to differences between stimulus parameters, including different stimulus speeds, types, and wavelengths; however, the overall consistency we observe in our analysis of data obtained using each collection method shows that our PyOKR can be easily adapted beyond our JHUSOM OKR data collection system and applied to other OKR recordings, independent of video-oculography methods. These results demonstrate that the software platform described here is accurate and can be generally applied to the study of oculomotor responses, allowing for precise quantitative comparisons among animals belonging to different groups to further the study of visual image stabilization circuitry.

Figure 1: Collection of OKR response data. (A) OKR virtual arena apparatus for behavioral stimulation, as previously described9,13. Four monitors surround a head-fixed animal (1), displaying a continuously moving checkerboard stimulus (2). The virtual drum can present unidirectional movement in all four cardinal directions as well as oscillatory sinusoidal stimuli. The mouse's left eye is illuminated by an infrared (IR) light and recorded with a camera (3) to record visual system responses reflected in eye tracking. (B) Analysis of eye tracking occurs by capturing the pupil and a corneal reflection generated by IR light. Data collection and calculation of eye movements in response to the virtual drum were performed as described previously9,13. (C) Schematic of eye vectors moving vertically (Y wave) and horizontally (X wave). (D) Sample traces of an eye's tracking response to unidirectional upwards and backwards motion, and also vertical and horizontal sinusoidal motion. Please click here to view a larger version of this figure.

Figure 2: Tracking analysis of unidirectional visual responses. (A-D) Identification and selection of slow tracking phases for gain analysis. Sample unidirectional traces are shown with visual responses to forward (A), backward (B), upward (C), and downward (D) motion in relation to the mouse's eye. Slow phases are identified by the addition of red and green points described in Step 3 to remove saccades, and the selected slow phases are highlighted in yellow. Polynomial regressions are overlaid on the traces as lines. (E) Quantification of the sample traces (A-D) as organized in the PyOKR readout. For each trace, total XY speeds and respective gains are calculated, regardless of directionality. In unidirectional responses, these total speeds will usually reflect the individual velocity in a certain direction; however, for sinusoidal responses, this value will reflect the average overall speed of the eye. Horizontal and vertical velocity components are broken down to show velocity in each respective direction. Gain is then calculated based on the presented stimulus velocities. (F) Calculated tracking gains of wild-type animals (n = 13) in the four cardinal directions compared to their associated ETM quantification. Data are presented as mean ± SD. Data analyzed with a one-way ANOVA with multiple comparisons. *p<0.05, **p<0.01,***p<0.005, ****p<0.0001. Please click here to view a larger version of this figure.

Figure 3: Automatic filtering of saccades facilitates OKR data processing and analysis. (A-D) Automatic filtering of traces from Figure 2A-D removes saccades and models only slow phase motion by removing rapid velocity changes and stitching slow phases together. The final slope represents the total eye movement over the given epoch. (E) Quantification of gains from filtered sample data, as organized in the PyOKR readout. (F) Comparison of gain values between unfiltered vs. filtered sample eye traces reflects no significant differences. Data are presented as mean ± SD. Data analyzed with a Mann-Whitney U test between unfiltered and filtered results. Please click here to view a larger version of this figure.

Figure 4: Derivation of tracking gains in response to oscillatory visual stimuli. (A,B) Vertical (A) and horizontal (B) eye movement responses to sinusoidally moving stimuli can be modeled relative to defined oscillatory stimulus parameters. Selected regions are labeled in yellow with the polynomial approximation overlaid on top of the trace. A model of the stimulus is presented as an orange sinusoid wave behind the trace to allow for reference to what the stimulus is at each point. (C) Gain calculations of wild-type sinusoidal responses (n = 7) reflect asymmetrical responses between horizontal and vertical tracking ability. Data are presented as mean ± SD. Data analyzed with a one-way ANOVA with multiple comparisons. **p<0.01,***p<0.005. Please click here to view a larger version of this figure.

Figure 5: Directional tracking can be modeled in its horizontal and vertical components. (A) Vertical component of an eye tracking wave in response to an upward stimulus. (B) Horizontal component of an eye tracking wave in response to an upward stimulus. (C) Overall eye trajectory in both vertical and horizontal directions. (D) Three-dimensional model of the eye's movement vector over time in response to downward motion. Raw trace data is displayed in red and the regression model of trajectory is displayed in blue. Please click here to view a larger version of this figure.

Figure 6: Analysis of the OKR in Tbx5f/f; Pcdh9-Cre mice shows significant deficits in unidirectional vertical tracking gains. (A) Tbx5f/f; Pcdh9-Cre animals show no significant change in horizontal tracking gain. (B,C) Tbx5f/f; Pcdh9-Cre animals show a significant reduction of gain in their vertical responses: upwards (B) and downwards (C). (D,E) Sinusoidal responses of Tbx5f/f; Pcdh9-Cre animals in response to horizontal (D) and vertical (E) oscillatory stimuli. (F) Quantification of Tbx5f/f; Pcdh9-Cre oscillatory responses show significant increases in horizontal tracking gains, but show decreases in vertical responses. Data are presented as mean ± SD. Data analyzed with Mann-Whitney U tests. *p<0.05, **p<0.01, ****p<0.0001. Please click here to view a larger version of this figure.

Figure 7: Application of PyOKR to data acquired from alternative video-oculography methods. (A) Apparatus for OKR virtual drum stimulation, as described10. A 405 nm wavelength DLP projector is reflected via a convex mirror onto a hemisphere to create a virtual drum that surrounds the animal's field of view. Eye movements are measured using an NIR camera positioned outside of the hemisphere. Unidirectional and sinusoidal bar gratings are shown to a head-fixed animal in vertical directions. (B,C) Upward (B) and downward (C) tracking phases are identified and selected for quantitative analysis. Slow phases are highlighted in yellow. (D) Tracking gains calculated from vertical tracking of wild-type animals (n=5) using methods described here. Asymmetric tracking ability is observed, with a significant decrease in downward tracking. (E) Oscillatory response to sinusoidal stimuli modeled to quantify tracking gains in wild-type animals (n=8). Slow phases are highlighted in yellow. (F) Quantification of sinusoidal gains reveals decreased downward tracking gains compared to upward gains. Data are presented as mean ± SD. Data analyzed with Mann-Whitney U tests. *p<0.05. Please click here to view a larger version of this figure.
Supplementary Coding File 1: PyOKR Windows Please click here to download this File.
Supplementary Coding File 2: PyOKR Mac Please click here to download this File.