Conclusions: These findings suggest that LAYN is correlated with prognosis and immune infiltrating levels of, including those of CD8+ T cells, CD4+ T cells, macrophages, neutrophils, and DCs in multiple cancers, especially in colon and gastric cancer patients. This evidence concerns the gene CD4 and gastric cancer.