Our study showed that TILs were inversely correlated with the elasticity values, especially in HR+HER2- breast cancer and TNBC. Here, ERBB2 is linked to breast cancer.