Correction to: Nature Methods https://doi.org/10.1038/s41592-021-01309-x, published online 1 November 2021.

In the version of this article initially published, extraneous references 29, 44–47, 19–22 were listed in Extended Data Fig. 4 caption and ref. 48 was listed in Extended Data Fig. 7 caption. The references have been removed from the HTML and PDF versions of the article.