The results showed that CFP is closely related to the prognosis of STAD and LYAD, and potentially interact with tumor immune infiltration. Here, CFP is linked to gastric adenocarcinoma.