Using CytoHubba and three ML methods, we identified three hub genes (HLA-DRA, ITGAX, and PTPRC) that are significantly correlated and valuable for diagnosing RA and IRP. Here, PTPRC is linked to rheumatoid arthritis.