We successfully established a predictive model according to four key genes, namely TAP1, MMP9, CFTR, and APOE. This model effectively distinguished between high- and low-risk populations, and identified gene clusters with distinct treatment responses in IBD. The gene discussed is APOE; the disease is inflammatory bowel disease.