[Objective] Developed and validated of diagnostic model related to anoikis in nasopharyngeal carcinoma (NPC) related to apoptosis, providing a new way for the early diagnosis based on machine learning. [Methods] The transcriptomic profiles of nasopharyngeal carcinoma and normal control were obtained from GEO public database. GSE12452 and GSE61218 were identified as training sets, while GSE64634 and GSE118719 were identified as validation sets. Sva limma screened key anoikis genes and that of differential genes between tumor and normal samples. NPC subgroups were analyzed by WGCNA according to the differential anoikis genes, and their characteristic genes were selected for intersection. Wilcoxon determined differences in immune cell distribution between the two subgroups. Based on the gene sets screened by WGCNA, four machine learning methods, RF, SVM, XGB and GLM, were used to screen the most important genes related to morbidity, and the model was verified by validation data set. [Results] A total of 18 genes with significant differences were screened in the training set, mainly concentrated in anoikis, dendritic spine and serine/threonine kinase activity pathways. Lasso regression analysis confirmed that most of the 12 genes were negatively correlated with immune-related cells, and CHEK2 gene had the highest AUC value. The expression of CHEK2 was associated with the malignant phenotype of EMT. The immune landscape of nasopharyngeal carcinoma was significantly different among subgroups of genes related to anoikis apoptosis. Among the four models, three important biomarkers (FHL2, ITGBL1 and VIPR1) were selected based on the SVM-RF model and machine learning model to construct the Nomo model for nasopharyngeal cancer diagnosis. The AUC value of the diagnostic model was 0.8, which had a high accuracy for the diagnosis of nasopharyngeal cancer. [Conclusion] The anoikis genes play an important role in the development of NPC. The NPC diagnosis model constructed by machine learning algorithm can effectively improve the diagnostic efficiency and provide a new way for the diagnosis of nasopharyngeal cancer. |