BackgroundThe aim of this study is to create an index called IRGPRI (immune-related gene prognostic risk index) that can be utilized for predicting the prognosis and assessing the efficacy of immune checkpoint inhibitors (ICIs) therapy in patients with non-small-cell lung cancer (NSCLC). MethodsDistinguishing gene expression patterns (DEGs) were detected in CD8+ cytotoxic T lymphocytes (CTLs) compared to other cellular types such as CD4 T cells, B cells, plasma cells, and CD8 Tex using the advanced technology of Single-cell RNA Sequencing (scRNA-seq). The construction of IRGPRI was accomplished by employing LASSO Cox regression analysis. We conducted a comparative analysis on clinical characteristics and molecular features, such as pathway enrichment and gene mutation, among the distinct subgroups of IRGPRI. Furthermore, we explored the correlation between immunological characteristics and IRGPRI subgroups to comprehensively assess the effectiveness of ICIs in NSCLC patients. ResultsA total of 109 genes were identified by intersecting immune-related genes with DEGs obtained from single-cell RNA sequencing data (GSE131907), specifically comparing CTLs to other cell types. From these, we selected 7 prognosis-related genes, namely TRBC1, HLA-DMA, CTSH, RAC1, CTSL, ANXA2, and CEBPB. These genes were used to construct the IRGPRI. The prognosis of patients diagnosed with NSCLC was found to be significantly better in the low-risk group compared to the high-risk group, as demonstrated by Kaplan-Meier (K-M) survival analysis. This observation was further confirmed through the utilization of data from the GEO cohort. The low-risk group demonstrated an increase in pathways linked with immune response, whereas the high-risk group exhibited a higher prevalence of pathways related to cancer. Furthermore, it was noted in the TCGA cohort that there existed a significant rise in the mutation frequency of every gene within the high-risk group as opposed to the low-risk group. Missense variation emerged as the most prevalent form of mutation. According to the analysis of immune cell infiltration and function, the comprehensive findings suggest that the group with a low risk is characterized by an increased presence of plasma cells, CTLs, T cells follicular helper, Tregs, and Dendritic cell resting. Additionally, they exhibit a higher score in terms of immune function for B cells, CD8+ T cells, checkpoint activity, T cell inhibition and stimulation. Moreover, this low-risk group demonstrates greater efficacy when treated with ICIs therapy compared to the high-risk group. ConclusionsOur research effectively developed and verified a unique IRGPRI, showcasing its association with immune-related characteristics. As a result, the potential of IRGPRI as a valuable biomarker for predicting prognosis and evaluating the effectiveness of ICIs treatment in cancer is evident.