In RA-LJ versus OA groups, CD8A, GZMB, CCL5, CD2, and CXCL9 are the hub genes, while CD8A, CD2, IL7R, CD27, and GZMB are the hub genes in RA-SJ versus OA groups. Here, CD2 is linked to rheumatoid arthritis.