Following identification of overlapping genes between DEGs, module genes, and those in the Immport database using Venn diagrams, we further identified hub genes in obesity through PPI network analysis, and precisely identified GZMB, MSR1, and IL6R as biomarkers in obesity using machine learning methods. This evidence concerns the gene IL6R and obesity due to melanocortin 4 receptor deficiency.