Our results showed that the expressions of APOE, BGN, BST1, and BGN were positively correlated with the infiltration status of immune cells such as B cells, CD8 + T cells, and neutrophils in cancer, demonstrating the significance of APOE, BGN, BST1, and BGN in recruiting and regulating infiltrating immune cells in cancer. This evidence concerns the gene APOE and cancer.