Correction to: Nature https://doi.org/10.1038/s41586-022-04722-0 Published online 11 May 2022

In the version of this article initially published, there were errors in some P values shown in the figures, where values were incorrectly truncated to the second decimal from the third or fourth decimals now shown in Fig. 1b,e,g,k, Fig. 2g and Fig. 4h,j,l,n,o,p,q,s. The P value shown in Fig. 2e was missing a zero, and the value in Fig. 2i was corrected from “0.003” to “0.011,” to now report two-way ANOVA rather than t-test results. The conclusions of the paper remain unaffected. The figures have been updated in the HTML and PDF versions of the article.