Functional enrichment analysis revealed that these DEGs were mainly involved in immune response, chemokine signaling, IL−17 signaling, cytokine receptor interactions, inflammatory bowel disease, etc. ABCG2, HSPB3, SLC6A14, and VNN1 were identified as potential biomarkers for UC and validated in the GSE13367 dataset (AUC = 0.889, 95% CI: 0.797~0.961). Here, SLC6A14 is linked to inflammatory bowel disease.