Our findings are indicative of the prognostic and predictive value of KRAS and illustrate the relationship between KRAS mutations and immune activity in colon cancer. Here, KRAS is linked to colonic neoplasm.