Correction to: Nature Machine Intelligence https://doi.org/10.1038/s42256-019-0052-1, published online 13 May 2019.

In the version of this Article originally published, the grey background behind the ‘Slide diagnosis’ section of Fig. 1a was misaligned. This has now been corrected.