After adjusting for multiple covariates, the TyG index and AIP were significantly positively correlated with AF, indicating that TyG and AIP are independent predictors of AF. The gene discussed is AIP; the disease is autoimmune pancreatitis.