We calculated the proportion of infiltrating immune cells in every sample using the EpiDISH (Epigenetic Dissection of Intra Sample Heterogeneity) algorithm and TCGA Infinium 450K methylation data in LUAD and LUSC (Figure 6A, 6B) datasets and found that cancer tissues contained a higher proportion of infiltrating B cells, NKs, CD4+ T cells, and granulocytes than of CD8+ T cells and monocytes in both LUAD and LUSC datasets. Here, CD8A is linked to cancer.