Correction to: Nature Methods https://doi.org/10.1038/s41592-023-01773-7. Published online 16 February 2023.

In the version of this article originally published, the graph shown in Figure 2j was an inadvertent duplicate of Figure 2i, and has now been replaced in the HTML and PDF versions of the article.