Correction to: Nature Methods https://doi.org/10.1038/s41592-022-01657-2, published online 31 October 2022.

The version of this article initially published showed an incomplete affiliation for Juan Miguel Mosquera. The affiliation has been corrected to Department of Pathology and Laboratory Medicine, Caryl and Israel Englander Institute for Precision Medicine, Weill Cornell Medicine, New York, NY, USA, in the HTML and PDF versions of the article.