The expression of HDAC2 and PD-L1 was higher in TNBC than that in other breast cancer subtypes. Here, HDAC2 is linked to breast carcinoma.