Correction to: Nature https://doi.org/10.1038/s41586-024-07300-8 Published online 10 April 2024

In the version of the article initially published, in the black violin plots in Fig. 5a, a dashed line was used to represent the mean and dotted lines for quartiles. This has now been corrected to a solid line for the mean and dashed lines for the quartiles in the HTML and PDF versions of the article.