Analysis of single-cell RNA sequencing datasets revealed that MAP2K1, mTOR, YAP1 and EGFR were predominantly located on monocytes/macrophages, Treg and exhaustive CD8 T cell, and are involved in M2 polarization within the TME of patients with primary and metastatic NSCLC which further implied gene’s role in remodeling the tumor immune microenvironment. Here, YAP1 is linked to non-small cell lung carcinoma.