Based on our study, KRAS may be a reliable prognostic biomarker for cancer patients in the course of diagnosis and treatment. Here, KRAS is linked to cancer.