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. Here, NEIL3 is linked to diffuse large B-cell lymphoma.