COL9A1 and hydrops fetalis: By linking hub gene expression with immune infiltration, our study suggests that COL9A1, MTIF3, MRPS25, and HMGN1 may modulate immune responses or be modulated by the immune microenvironment, offering new insights into gene–immune cell interactions in HF.