The present study found that RIPK2 was positively correlated with the expression of GZMB, NKG7 and PRF1 in cancer but negatively correlated with PRAD and LGG, and we found that RIPK2 had no correlation with SKCM and DLBC. This evidence concerns the gene PRF1 and cancer.