Using a bioinformatics approach across non-small cell lung cancer (NSCLC) subtypes, we identified where patient sex, mutation of the major tumor suppressor gene, Tumour protein P53 (TP53), and immune signatures stratified outcomes in lung adenocarcinoma (LUAD) and lung squamous cell carcinoma (LUSC), among datasets of The Cancer Genome Atlas (TCGA). Here, TP53 is linked to non-small cell lung carcinoma.