Correction to: Nature Methods https://doi.org/10.1038/s41592-021-01205-4, published online 27 July 2021.

In the version of this Comment initially published, an error appeared in the “Specificity” equation displayed in the middle-right panel of Fig. 2. Originally reading “\(\frac{{{{{\mathrm{fp}}}}}}{{{{{\mathrm{fp}}}} + {{{\mathrm{tn}}}}}}\)”, the equation has been corrected to read: “\(\frac{{{{{\mathrm{tn}}}}}}{{{{{\mathrm{tn}}}} + {{{\mathrm{fp}}}}}}\)”. The error has been corrected in the online version of the Article.

figure 1
Fig. 2
figure 2

Original and corrected.