This study revealed changes in cell proportions during AF pathogenesis and identified Engrailed-1 (EN1) as a key transcription factor strongly associated with disease severity and clinical prognosis. Here, EN1 is linked to atrial fibrillation.