The results show that LAYN expression has significant correlations with tumor purity in 26 types of cancer and significant correlations with B cell infiltration levels in 14 types of cancers. This evidence concerns the gene LAYN and cancer.