Correction to: Nature https://doi.org/10.1038/s41586-024-07516-8 Published online 5 June 2024

In the version of the article initially published, in Fig. 1h, the lower label originally read “AP1+ glia (dsRednegGFP+)” and has now been corrected to “AP1+ glia (dsRedposGFP+)” in the HTML and PDF versions of the article.