Our study showed that TILs were inversely correlated with the elasticity values, especially in HR+HER2- breast cancer and TNBC. The gene discussed is ERBB2; the disease is breast carcinoma.