The analysis showed that YTHDF2 expression was associated with tumor purity in 14 cancer types and B cell infiltration levels in 10 cancer types. This evidence concerns the gene YTHDF2 and cancer.