To explore the underlying mechanism by which SGOL2 and RAB1A regulate TME in prostate cancer, SGOL2 and RAB1A both were predicted to regulate immune cell infiltration of prostate cancer, including lymphocytes and myeloid cells. This evidence concerns the gene SGO2 and prostate carcinoma.