CP and atrial fibrillation: We identified two ferroptosis genes that are highly correlated with AF and HF: CP and STEAP3. Our findings provide a theoretical basis for the clinical diagnosis and treatment of AF and HF.