Here, we provided direct proof that PD-L1 expression varies across different tumor layers with smooth transformation of the distribution of immune cells when 3D structures are thoroughly examined, indicating the approach has the potential to provide more accurate diagnosis of PD-L1 in TNBC. This evidence concerns the gene CD274 and neoplasm.