Mediation analysis indicated no significant indirect effects of the TyG index and AIP on AF risk (P = 0.132). The gene discussed is AIP; the disease is atrial fibrillation.