Correction to: Nature Methods https://doi.org/10.1038/s41592-020-0796-x, published online 6 April 2020.

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