ROC curve analysis revealed that these seven hub immune-related genes (C5AR1, CXCR4, HCK, LAPTM5, MPEG1, TLR8, and TNFSF13B) were significantly associated with AF diagnosis (0.7 < AUC < 1) (Figure 10). This evidence concerns the gene TNFSF13B and atrial fibrillation.