The results showed that MSH2 expression levels were significantly correlated with the level of B cell infiltration in 18 cancers, CD4+ T cell infiltration in 23 cancers, CD8+ T cells in 10 cancers, macrophages in 12 cancers, neutrophils in 26 cancers, and dendritic cells in 12 cancers. Here, MSH2 is linked to cancer.