In the present study, immune cell infiltration analyses showed that Th1 was negatively associated with ANLN in all types of breast cancer, whereas it was positively associated with UBE2T in luminal A breast cancer. This evidence concerns the gene ANLN and breast cancer.