As a whole, in both DCIS and IBC, tumors with high HLA class I expression contained significantly more CD4+, CD8+, and FOXP3+ TILs and PD-L1+ immune cells than those with low HLA class I expression (all p < 0.05). This evidence concerns the gene CD4 and ductal breast carcinoma in situ.