Genes such as AMOT, PDE11A, TYMS, TMEM98, and PTGS2 demonstrated substantial diagnostic potential for identifying NAFLD patients at risk of AF. Here, PTGS2 is linked to atrial fibrillation.