In conclusion, our findings suggested that the RNAscope assay may be a promising method to detect PD-L1 expression in gastric cancer patients, and might play an important role in clinical trials. Here, CD274 is linked to gastric cancer.