Pretreatment elasticity values measured using SWE were significantly associated with treatment response and inversely correlated with TILs, particularly in HR+HER2- breast cancer and TNBC. This evidence concerns the gene ERBB2 and breast carcinoma.