Mass spectrometry and machine learning were used to search for strongly related PD-L1 genes, and the NMF approach was then used to separate gastric cancer patients into two categories. This evidence concerns the gene CD274 and gastric cancer.