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. Here, CD8A is linked to gastric cancer.