Due to the sparseness of CD8+ T cells in the reference melanoma scRNA-seq data, the CD8+ T-cell exhaustion trajectory was annotated using the exhaustion score30 rather than any of the trajectory inference methods and validated by the expression pattern of the marker genes (Fig. 5b). This evidence concerns the gene CD8A and melanoma.