In our study, although the TME did not correlate with the stages of breast cancer, we verified that it was highly associated with the subtypes of breast cancer and gene mutations (CDH1, TP53 and PTEN) and possessed immunological characteristics. Here, CDH1 is linked to breast cancer.