High HLA class I expression level was generally associated with aggressive clinicopathologic features of IBC and was associated with high CD4+, CD8+, and FOXP3+ TIL and PD-L1+ immune cell infiltration in both DCIS and IBC. Here, CD274 is linked to ductal breast carcinoma in situ.