In summary, five crucial candidate genes (FRZB, SFRP4, ETNPPL, AQP4, C1orf105) may play key roles in the occurrence and development of HF and AF, suggesting they may serve as potential biomarkers and therapeutic targets in the two diseases. Here, FRZB is linked to atrial fibrillation.