By the ssGSEA method, we proved that CTNNB1, EGFR, SOX2, and ERBB2 expressions showed significant correlation with Th17 T cell in thymoma, and KEGG analysis suggested that differential genes were highly enriched in the IL-17 pathway. Here, ERBB2 is linked to thymoma.