Correction to: Nature Methods https://doi.org/10.1038/s41592-023-01816-z. Published online 9 March 2023.

In the version of this article originally published, the top plot in Fig. 2h, now labeled “Day 0,” was mistakenly labeled “Day 2.” Similarly, the top plot in Fig. 2i, now labeled “Day 2,” was wrongly labeled “Day 0.” In the description of panel h in the Fig. 2 caption, “day 0” has replaced the two instances of “day 2”. The errors have been corrected in the HTML and PDF versions of the article.