Correction to: Nature Methods Published online 3 September 2022.

In the version of this article originally published, Anjana Shenoy (Sackler Faculty of Medicine, Tel Aviv University, Tel Aviv, Israel) was shown with the wrong affiliation. In addition, Extended Data Fig. 2 inadvertently duplicated Extended Data Fig. 1. The affiliation and figure have been updated in the HTML and PDF versions of the article.