Correction to: Nature https://doi.org/10.1038/s41586-021-03710-0 Published online 7 June 2021

In the version of this Article initially published, a labeling error appeared in Fig. 4d. On the far right x-axis label, the last term, “Cognitive,” was incorrect. This has been replaced with the original label “Interneuron.”

The original Article has been corrected online.