KRAS modulates immune infiltration levels and survival outcomes in patients with lung adenocarcinoma. Here, KRAS is linked to lung adenocarcinoma.