A 7-gene-based model was constructed and showed that the diagnostic value of seven genes (S100A8, CD14, ITGAM, C5, CSF3R, PPBP, and CCL21) in distinguishing PAH tissues from normal samples was excellent. Here, CCL21 is linked to pulmonary arterial hypertension.