TPS measures PD-L1 expression in tumor cells only, while CPS measures the total number of PD-L1-positive cells, including both tumor cells and immune cells in the tumor microenvironment. Here, CD274 is linked to neoplasm.