Subsequently, we compared variables such as age, gender, disease type, treatment, comorbidities, and laboratory parameters, including levels of IgG, IgA, and IgM, counts of T cells, CD4+ T cells, CD8+ T cells, B cells, NK cells, and white blood cell count (WBC), between the IFI and non-IFI groups in the training cohort to explore potential risk factors for invasive fungal infection. This evidence concerns the gene CD4 and fungal infectious disease.