Correction to: Nature https://doi.org/10.1038/s41586-022-05242-7 Published online 21 September 2022

In the version of this article initially published, the third and fourth top colour band labels of Fig. 1d (now reading “RNA processing” and “Antigen presentation,” respectively) appeared in the wrong order. The figure has been amended in the HTML and PDF versions of the article