We screened 98 immune genes associated with HF and identified 10 hub genes from them, including CXCL8, IL18, CXCL10, CD8A, IL7, PTPRC, CCL5, IL7R, CXCL9 and CCL2. This evidence concerns the gene PTPRC and hydrops fetalis.