The results showed that RAB42 overexpression is significantly correlated with that of partial immunosuppressive genes (C10orfs54, CD274, IDOI, HAVCR2, IL10, SLAMF7, CD276, TGFB1) and immunostimulatory genes (TNFRSF14, TLR4, TNFSF4, CD40LG, CD27, ICOS, PRF1, GZMA, CCL5, IFNG, BTN3A1, BTN3A2, CXCL10, CXCL9, IL2RA, CD80, TNFRRSF9, ITGB2, CD28, ICAM1, ENTPD1, CD40, TNFRSF4) across various cancer types. This evidence concerns the gene HAVCR2 and cancer.