Correction to: Nature Methods https://doi.org/10.1038/s41592-021-01390-2, published online 10 February 2022.

This paper was originally published under under a Creative Commons Attribution 4.0 International license, © The Author(s). It is now available under a standard Springer Nature license (© The Author(s), under exclusive licence to Springer Nature America, Inc.). The error has been corrected in the HTML and PDF versions of the article.