MEG3 and idiopathic pulmonary arterial hypertension: CIBERSORT analysis revealed a positive correlation between neutrophils and TNFAIP3, whereas macrophages M0 exhibited a negative correlation with PRDX1. Through comprehensive bioinformatics analysis, we identified six differentially expressed ferroptosis-related genes (DE-FRGs)—KEAP1, TNFAIP3, MEG3, NFS1, PRDX1, and BEX1—in idiopathic pulmonary arterial hypertension (IPAH).