By using patient-derived scaffolds and adapting breast cancer cells sensing the various cues from the cancer niches, we have illustrated pronounced and varying effects on the clinically relevant cancer treatment target PD-L1. Here, CD274 is linked to breast cancer.