Based on the CD8+T cell scRNA-seq in lung cancer, we used PCA to screen out the DEGs expressed in the resting state (PC_0), activated state (PC_1), and non-functional state (PC_2) clusters. Here, CD8A is linked to lung carcinoma.