Through the ssGSEA algorithm, we found that the proportions of six immune cell subsets, including M1 macrophages, M2 macrophages, and resting memory CD4<sup>+</sup>T cells, showed directional changes between the HF group and the control group, and these changes were significantly correlated with the expression of LYN and CFTR. The gene discussed is CD4; the disease is hydrops fetalis.