Six hub genes were selected using protein–protein interaction (PPI) network analysis, including CDK1, KIF23, NEK2, TOP2A, NEIL3 and DEPDC1, which showed preferable diagnostic values for SLE and DLBCL and involved in immune cell infiltration and immune responses regulation. This evidence concerns the gene KIF23 and systemic lupus erythematosus.