Through validation of the upregulated genes and hub genes identified by PPI analysis of the co-downregulated DEGs, we found that AMOT, PDE11A, TYMS, TMEM98, and PTGS2 exhibited good diagnostic potential for NAFLD-related AF. The gene discussed is TMEM98; the disease is metabolic dysfunction-associated steatotic liver disease.