The hub genes are TYROBP, PTPRC, ITGB2, SPI1, PLEK, and CSF1R in permanent AF and JAM3, S100P, ARPC5, TRIM34, and GREB1L in persistent AF. Here, TRIM34 is linked to atrial fibrillation.