Correction to: Nature https://doi.org/10.1038/s41586-022-04758-2 Published online 18 May 2022

In the version of this article initially published, we unintentionally omitted to indicate that Extended Data Fig. 2h and Extended Data Fig. 3f display images from the same experiment. The upper panel in Extended Data Fig. 3f represents green and red channels of the same tumour region as the panel on the top left in Extended Data Fig. 2h. The lower panel in Extended Data Fig. 3f represents green and red channels of the same tumour region as the panel on the top right in Extended Data Fig. 2h. This has now been clarified in Extended Data Fig. 2h and Extended Data Fig. 3f legends and in the Methods “Orthotopic mouse models: Melanoma” subsection, as reflected in the HTML and PDF versions of the article.