CTNNB1, EGFR, SOX2, and ERBB2 expressions revealed a significant correlation with NK cells in thymoma, and these four genes may play a role in regulating NK cells in TAMG. Here, ERBB2 is linked to thymoma.