ERBB2 and neoplasm: IRGPI showed specificity in distinguishing age, TNM stage, ER, and HER2 statuses, and our study found that the high-IRGPI group had low tumor immune dysfunction and exclusion (TIDE), microsatellite instability (MSI), and T cell dysfunction scores (p < 0.05).