Correction to: Nature Neuroscience 20, 1269–1276 (2017); published online 31 July 2017.

In the version of this article initially published, the green label in Fig. 1c read “rightward choices” instead of “leftward choices.” The error has been corrected in the HTML and PDF versions of the article.