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