After the protein-protein interaction (PPI) network construction, a total of six hub genes (CCR5, CCR7, IL7R, PTPRC, CD2, and CD3D) were determined as hub genes, and the subsequent comprehensive bioinformatics analysis of the hub genes re-emphasized the importance of the immune system in RA and AS. This evidence concerns the gene IL7R and rheumatoid arthritis.