Correction to: Nature Medicine https://doi.org/10.1038/s41591-022-01962-5. Published online 12 September 2022.

In the version of this article initially published, the first sentence of the Fig. 4a caption (now reading “The expression of different NK cell surface receptors was determined by scRNA-seq”) was incorrectly preceded by the text “Association between gene expression in NK cells and the percentage of viable tumor cells,” which has now been removed from the HTML and PDF versions of the article.