Through immune infiltration analysis, it was found that four hub genes can interact with Activated B cells, Activated CD4+ T cells, Immature B cells and Regulatory T cells to further affect dialysis patients with heart failure. The gene discussed is CD4; the disease is heart failure.