Neural activity in AC and pStr encodes choice direction. A, Example neuron from the AC showing different levels of activity when the mouse traveled to the left port versus the right port. Average firing aligned to movement onset for correct trials (790 trials) and error trials (41 trials) show similar patterns of activity when the animal moves in a given direction independent of the sound. The box plots above the spike raster show the distributions of sound-onset times (before movement) and side-port entry times (after movement). B, Similar to A for a cell recorded in the posterior striatum (509 correct trials, 125 error trials). C, D, Choice direction selectivity during movement for all recorded neurons in AC and pStr, respectively. Cells with statistically significant selectivity to choice direction (p ≤ 0.05, Wilcoxon rank sum test) are shown in black.