Six key immune genes (TLR2, TLR4, CCR7, IL18, TIRAP and FOXP3) showed cell‐type specific expression patterns in the lung cancer microenvironment. Here, IL18 is linked to lung cancer.