Using CanDI, we identified genes that are selectively essential in male versus female KRAS-mutant NSCLC, PDAC, and CRC models. Here, KRAS is linked to non-small cell lung carcinoma.