Based on module genes most relevant to macrophages, macrophage differentiation-related genes (MDRGs), and DEGs in HF and normal subjects from GEO datasets, four genes (CD163, RNASE2, LYVE1, and VSIG4) were identified as valid diagnostic markers for HF. Here, CD163 is linked to hydrops fetalis.