(a) Scatter plots of visTRN neurons comparing their firing rate modulation (change from baseline) under the two distinct anticipatory conditions. Each sample is a single cell. Colors denote significance reached for each cell on a trial-by-trial basis (red, visual; blue, auditory; purple; both; rank-sum test comparison to baseline). Note that in correct performance (n = 138, 4 mice, p < 0.005, Wilcoxon Sign-Rank Test), ‘attend to vision’ resulted in a negative shift and ‘attend to audition’ resulted in a positive shift, consistent with examples shown in Fig. 3. During natural error trials, the modulation is partially reversed for both trial types, suggesting that at least a subset of errors are the result of attending to the wrong modality. On the other hand PFC disruption (n = 56 cells, 2 mice), results in weaker non-uniform effect (‘attend to visual trials’ are less impacted). (b) Quantification of effects seen in a.