Back to Journals » Infection and Drug Resistance » Volume 18

Construction of a Nomogram Prediction Model for Individualized Prediction of the Risk of Pulmonary Fungal Infection in Lung Cancer

Authors Lai Q, Liao K, Kuang G, Liao W, Zhang S

Received 4 March 2025

Accepted for publication 18 June 2025

Published 26 June 2025 Volume 2025:18 Pages 3137—3147

DOI https://doi.org/10.2147/IDR.S526221

Checked for plagiarism Yes

Review by Single anonymous peer review

Peer reviewer comments 2

Editor who approved publication: Prof. Dr. Héctor Mora-Montes



Qixun Lai,1 Kaifu Liao,1 Guangzhi Kuang,1 Weijie Liao,2 Shengrui Zhang2

1Department of Thoracic Surgery, Ganzhou Fifth People’s Hospital, Ganzhou City, 341000, People’s Republic of China; 2Department of Critical Care Medicine, Ganzhou People’s Hospital, Ganzhou City, 341000, People’s Republic of China

Correspondence: Shengrui Zhang, Department of Critical Care Medicine, Ganzhou People’s Hospital, No. 16 Meiguan Avenue, Ganzhou City, Jiangxi Province, 341000, People’s Republic of China, Tel +8615279719190, Email [email protected]

Objective: To construct a nomogram model for individualized prediction of pulmonary fungal infection risk in lung cancer patients.
Methods: A total of 483 lung cancer patients hospitalized between August 2021 and August 2024 were retrospectively analyzed and randomly divided into a modeling group (n=338) and validation group (n=145). Patients in the modeling group were categorized based on the presence or absence of pulmonary fungal infection. Clinical data were analyzed using logistic regression, and a nomogram was developed using R software. Model performance was assessed using ROC curves, the Hosmer-Lemeshow (H-L) test, and Decision Curve Analysis (DCA).
Results: Pulmonary fungal infections occurred in 99 out of 483 patients (20.50%). In the modeling group, the infection rate was 21.30%. Multivariate logistic regression identified age, smoking history, diabetes, glucocorticoid use, type of antimicrobial agents, invasive procedures, and length of hospitalization as independent risk factors (P< 0.05). The Area Under the Curve (AUC) was 0.933 in the modeling group and 0.954 in the validation group. H-L tests indicated good model calibration (P> 0.05). DCA demonstrated high clinical utility when the predicted probability ranged from 0.08 to 0.93.
Conclusion: The nomogram based on key clinical factors effectively predicts the risk of pulmonary fungal infection in lung cancer patients and is a promising tool for assisting in early identification and intervention.

Keywords: lung cancer, pulmonary fungal infection, influencing factors, nomogram

Introduction

With the continuous advancement of diagnostic and therapeutic technologies, the mortality rate of lung cancer has decreased; however, it remains the leading cause of cancer-related deaths globally.1,2 After undergoing surgery, radiotherapy, and chemotherapy, lung cancer patients often experience damage to normal cells, suppression of bone marrow function, and decreased immunity, making them more susceptible to pulmonary fungal infections. These infections not only impact the efficacy of surgical treatment but also lead to poor prognosis and prolonged hospital stays for patients.3 Pulmonary fungal infections are respiratory diseases caused by various fungi and predominantly affect immunocompromised individuals. The incidence of such infections is increasing. Without timely intervention, these infections can progress to sepsis, thereby significantly impacting patient outcomes.4,5 Studies have shown that the mortality rate among cancer patients with fungal infections is relatively high. Lung cancer patients often have chronic pulmonary diseases, and the sensitivity of early diagnosis based on clinical symptoms and imaging is low, posing challenges for timely identification. This increases the risk of pulmonary fungal infections in these patients.6 Therefore, identifying risk factors for fungal infections is crucial for implementing early preventive and therapeutic strategies, thereby improving patient outcomes. A nomogram is a tool that provides a visual representation of predictive models to quantify the risk of clinical events, thereby helping clinicians predict the likelihood of an event and formulate corresponding preventive measures.7 Despite this utility, there are currently few reports on the application of nomograms for predicting pulmonary fungal infections among lung cancer patients. Consequently, this study aimed to construct and validate a nomogram-based predictive model for individualized prediction of the risk of pulmonary fungal infections in lung cancer patients.

Materials and Methods

General Information

This study retrospectively selected 483 lung cancer patients admitted to our hospital from August 2021 to August 2024. The cases were randomly divided into a modeling group (338 cases) and a validation group (145 cases) at a 7:3 ratio. The modeling group was further categorized into an infection group and a non-infection group based on whether pulmonary fungal infection occurred. The case collection flowchart is shown in Figure 1. Inclusion criteria: (1) Meeting the diagnostic criteria for lung cancer,8 confirmed by pathological results; (2) Meeting the diagnostic criteria for fungal infections9 without infection before admission; (3) Age ≥18 years; (4) Complete clinical data available. Exclusion criteria: (1) Survival time <6 months; (2) Severe organ failure; (3) presence of other active infectious diseases; (4) Bacterial infections; (5) Immunodeficiency; (6) Long-term use of immunosuppressive drugs; (7) Cognitive impairment. The study protocol was approved by the Institutional Ethics Committee of our hospital.

Figure 1 Case flow collection diagram.

Determination of Pulmonary Fungal Infection

The diagnosis of pulmonary fungal infection9 was based on the following criteria: (1) fever (body temperature exceeding 38°C); (2) Worsening clinical symptoms (eg, cough, sputum production), with gradually increasing airway secretions; (3) Presence of pulmonary moist rales; (4) White blood cell count ≥10×10⁹/L, with an increased proportion of neutrophils; (5) Radiological evidence of pulmonary inflammation evident on imaging; (6) Positive fungal culture in sputum specimens. Diagnosis of pulmonary fungal infection required fulfillment of criteria (1)-(4) plus at least one of criteria (5) or (6).

Data Collection and Variables

(1) Comparison of clinical data between the modeling group and validation group. Data were collected from the electronic medical record system, including age, sex, body mass index (BMI), smoking history, drinking history, hypertension, diabetes, respiratory diseases, tumor stage, pathological type, anemia, use of glucocorticoids, types of antibiotics used, invasive procedures, hospitalization duration, hypoproteinemia, and treatment methods. (2) Comparison of clinical data between the infection group and non-infection group. (3) Analysis of factors influencing pulmonary fungal infection in lung cancer patients. (4) Construction of a nomogram model for predicting pulmonary fungal infection in lung cancer patients. (5) Analysis of the nomogram models for the modeling and validation groups. (6) Construction of the DCA (Decision Curve Analysis) curve for the nomogram model.

Statistical Analysis

Data were analyzed using SPSS version 25.0. Categorical data were analyzed using the chi-square (χ²) test or Fisher’s exact test, as appropriate, and expressed as frequencies (n) and percentages (%). Continuous data conforming to a normal distribution were analyzed using independent samples t-tests and expressed as mean ± standard deviation (). Multivariate logistic regression analysis was used to identify factors influencing pulmonary fungal infections in lung cancer patients. The nomogram model was constructed using R software (R software version 3.6.3 and the rms package). The discriminative ability of the nomogram was evaluated using Receiver Operating Characteristic (ROC) curve analysis, and its area under the curve (AUC) was calculated. Calibration was assessed using the Hosmer-Lemeshow (H-L) goodness-of-fit test and calibration plots. The clinical utility of the nomogram was evaluated using Decision Curve Analysis (DCA). A P-value <0.05 was considered statistically significant.

Results

Comparison of Clinical Data Between the Modeling and Validation Groups

There were no significant differences in clinical data such as age and sex between the modeling group and the validation group (P>0.05). Detailed comparisons are presented in Table 1.

Table 1 Comparison of Clinical Data Between the Modeling Group and the Validation Group

Comparison of Clinical Data Between the Infection and Non-Infection Groups

Among the 483 included patients, 99 developed a pulmonary fungal infection, with an incidence rate of 20.50%. In the modeling group, 72 out of 338 patients experienced infection, with an incidence rate of 21.30%. Univariate analysis revealed significant differences between the two groups within the modeling cohort in terms of age, smoking history, diabetes, use of glucocorticoids, types of antibiotics used, invasive procedures, and hospitalization duration (P<0.05). Other clinical data showed no significant differences (P>0.05). See Table 2.

Table 2 Comparison of Clinical Data Between Infection and Non-Infection Groups

Analysis of Factors Influencing Pulmonary Fungal Infection in Lung Cancer Patients

Whether pulmonary fungal infection occurred in lung cancer patients was taken as the dependent variable (yes=1, no=0). Factors demonstrating significant differences in Table 2 were included as independent variables, with the variable assignment shown in Table 3. Multivariate Logistic regression analysis(Stepwise forward selection method with entry criterion α=0.05 and removal criterion α=0.10) revealed that age(OR:12.094,95% CI:4.927~29.684), smoking history(OR:6.765,95% CI:2.761~16.574), diabetes(OR:4.710,95% CI:1.964~11.293), use of glucocorticoids(OR:5.569,95% CI:2.448~12.669), types of antibiotics used(OR:2.814,95% CI:1.168~6.779), invasive procedures(OR:3.706,95% CI:1.374~9.999), and hospitalization duration(OR:3.805,95% CI:1.409~10.273) were risk factors for pulmonary fungal infection in lung cancer patients (P<0.05). See Table 4.

Table 3 Assignment Methods of Argument Variables

Table 4 Analysis of Factors Affecting Pulmonary Fungal Infection of Patients with Lung Cancer

Construction of the Nomogram Model for Pulmonary Fungal Infection in Lung Cancer Patients

The nomogram model was constructed as follows: P=ex/ (1+ex), x=12.094×Age+ 6.765×Smoking History+4.710×Diabetes+5.569×Use of Glucocorticoids+2.814×Types of Antibiotics Used+3.706×Invasive Procedures+3.805×Hospitalization Duration. The relative contribution of these factors to infection risk, from greatest to least, were age, smoking history, use of glucocorticoids, diabetes, types of antibiotics used, invasive procedures, and hospitalization duration. To illustrate the nomogram’s utility, consider a hypothetical patient: under 65 years old (0 points), with a smoking history (78.5 points), diabetes (62.0 points), no use of glucocorticoids (0 points), application of three or more types of antibiotics (42.5 points), invasive procedures (36.5 points), and hospitalization longer than two weeks (33.5 points), the total score would be 257.5 points. By projecting a vertical line from this total score on the nomogram scale, a predicted probability of approximately 73% for developing pulmonary fungal infection is obtained. The nomogram is depicted in Figure 2.

Figure 2 Construction of a nomogram model of pulmonary fungal infection of patients with lung cancer.

Nomogram Model in the Modeling Group

The AUC of the nomogram model in the modeling group was 0.933, with a 95% CI of 0.892–0.974. The Hosmer-Lemeshow test result was χ²=7.120, P=0.705, indicating good calibration. These results are illustrated in Figure 3.

Figure 3 Nomogram Model in the Modeling Group (A) ROC curve of modeling group; (B) calibration curve of modeling group.

Nomogram Model in the Validation Group

The AUC of the nomogram model in the validation group was 0.954, with a 95% CI of 0.923–0.994. The Hosmer-Lemeshow test result was χ²=6.576, P=0.637, further supporting good model calibration. These findings are presented in Figure 4.

Figure 4 Nomogram Model in the Validation Group (A) ROC curve of validation group; (B) Calibration curve of validation group.

Decision Curve Analysis Curve of the Nomogram Model

The DCA curve demonstrated that the nomogram model had high clinical utility when the predicted probability ranged from 0.08 to 0.93. The DCA curve is shown in Figure 5.

Figure 5 DCA curve for the nomogram.

Discussion

Most lung cancer patients are susceptible to developing pulmonary infections during the progression of the disease. This is primarily due to a reduction in neutrophil phagocytic function, fibrosis of the pulmonary mucosal epithelium, and weakened immunity following treatment. When fungal infections occur, they can accelerate the progression of the patient’s condition.10 Early diagnosis of fungal infections is challenging because patients with impaired immune function fail to mount an adequate inflammatory response, resulting in a lack of typical symptoms of infection.11 Additionally, with worsening air pollution, the incidence of lung cancer has been gradually increasing. The treatment of lung cancer damages normal cells, and combined with the severity of the disease, the presence of respiratory secretions that cannot be expelled in a timely manner, and a reduced ability to clear foreign substances, the risk of infection is significantly heightened.12,13 This study found that among the 483 patients, 99 developed a pulmonary fungal infection, resulting in an infection rate of 20.50%. In the modeling group, 72 out of 338 patients developed infections, with an infection rate of 21.30%. This observed incidence was higher than that reported in previous studies (12%),14 a discrepancy that may be attributed to the potentially older age and more severe underlying conditions of the patients included in this study. Regional differences may also contribute to variations in incidence. Therefore, developing a risk prediction model is of great clinical importance for effective prevention.

This study identified seven independent risk factors influencing pulmonary fungal infections in lung cancer patients through multivariate analysis: age, smoking history, diabetes, use of glucocorticoids, types of antibiotics used, invasive procedures, and hospitalization duration. The reasons for their influence are analyzed as follows: (1) Elderly patients are more prone to infections because the continuous decline of tissues and organs in older individuals weakens their immunity. Furthermore, the presence of multiple comorbidities often reduces the host’s ability to resist fungi and other pathogenic microorganisms. The decreased elasticity of alveoli and diminished protective function of the respiratory mucosal barrier further increase the risk of fungal infection.15,16 Therefore, healthcare providers should enhance treatment and care for elderly patients to effectively prevent infections. (2) Smoking accelerates oxidative stress reactions in the body, activating proto-oncogenes and causing cellular malignancy. Long-term smoking introduces harmful substances such as nicotine, tar, and polycyclic aromatic hydrocarbons, which damage natural killer cells and gradually reduce the number of pulmonary cilia. This destruction of the respiratory barrier decreases alveolar macrophage function, thereby increasing the likelihood of fungal infections.17 (3) High blood glucose levels increase plasma osmolality, which impairs cellular phagocytic and bactericidal functions. The antioxidant defense mechanism of the lungs is also compromised, making infections more likely. Moreover, such patients often experience metabolic imbalances and poor nutritional status, which elevate the risk of fungal infections.18 Clinically, it is crucial to actively treat comorbidities and provide nutritional support to enhance the body’s resistance. (4) Excessive use of glucocorticoids inhibits the production of reactive oxygen intermediates, reduces the phagocytic ability of alveolar macrophages toward fungal spores, and suppresses the elimination of fungal germ spores, thereby increasing the risk of infection.19 Clinically, it is important to restrict the use of glucocorticoids. (5) Overuse of antibiotics disrupts the gut microbiota, breaking the balance of the original flora and affecting intestinal protein metabolism and vitamin B synthesis. This disrupts the body’s functional recovery and increases the risk of pulmonary infections.20 It is therefore essential to use antibiotics rationally in clinical practice to avoid excessive use that could weaken the body’s functions. (6) Invasive procedures, such as catheterization or tracheal intubation, increase infection risk due to the potential for incomplete disinfection during the procedure and local mucosal damage. Such procedures compromise the skin and mucosal barriers, facilitating pathogen invasion.21 (7) Prolonged hospitalization increases the time patients spend bedridden, can weaken their cough reflex, and may prevent smooth clearance of respiratory secretions. Additionally, extended hospital stays increase exposure to nosocomial pathogens and potentially poorly ventilated wards, all of which elevate the risk of fungal infections.22

This study constructed a nomogram model, which yielded AUC values of 0.933 and 0.954 for the modeling and validation groups, respectively. The H-L test indicated good model fit, demonstrating strong predictive discrimination. The DCA curve showed that when the probability ranged from 0.08 to 0.93, the nomogram model had high clinical utility. This model can assist clinicians in prevention strategies by identifying high-risk populations with poor prognosis, thereby reducing the risk of infection.

Furthermore, in this study, data on systemic anti-cancer therapies such as targeted agents, immunotherapy, or anti-angiogenic drugs were not included. Therefore, potential associations between these treatments and pulmonary fungal infections were beyond the scope of our analysis. Additionally, endpoints such as treatment response, long-term prognosis, or overall survival were not assessed. These issues are of high clinical relevance and merit further investigation in future prospective studies with broader datasets.

In conclusion, age, smoking history, diabetes, use of glucocorticoids, types of antibiotics used, invasive procedures, and hospitalization duration are influencing factors for pulmonary fungal infections in lung cancer patients. The nomogram constructed based on these factors effectively predicts the risk of pulmonary fungal infections in this patient population. This study has several limitations. As a retrospective study, there is a potential for selection bias and limitations in data completeness, such as precise dosage information. The sample size is relatively small. Additionally, it is a single-center study. Future research will involve expanding the sample size and conducting prospective multicenter validation to confirm these findings and enhance the generalizability of the model.

Research Involving Human Participants

This retrospective study involving human participants was in accordance with the ethical standards of the Institutional Review Board (or Ethics Committee) of Ganzhou People’s Hospital (Approval No. GZSRMYY2024090021) and with the 1964 helsinki Declaration and its later amendments or comparable ethical standards. Written informed consent was obtained from all participants included in this study.

Data Sharing Statement

All relevant data generated or analyzed during this study are included within this published article.

Consent for Publication

All authors have read and approved the final manuscript and give their consent for publication.

Funding

There is no funding to report.

Disclosure

The authors declare that they have no conflicts of interest.

References

1. Howlader N, Forjaz G, Mooradian MJ, et al. The effect of advances in lung-cancer treatment on population mortality. N Engl J Med. 2020;383(7):640–649. doi:10.1056/NEJMoa1916623

2. Li Y, Wu X, Yang P, et al. Machine Learning for Lung Cancer Diagnosis, Treatment, and Prognosis. Genomics Proteomics Bioinf. 2022;20(5):850–866. doi:10.1016/j.gpb.2022.11.003

3. Marmor HN, Kammer MN, Deppen SA, et al. Improving lung cancer diagnosis with cancer, fungal, and imaging biomarkers. J Thorac Cardiovasc Surg. 2023;166(3):669–678.e4. doi:10.1016/j.jtcvs.2022.12.014

4. Lamoth F, Calandra T. Pulmonary aspergillosis: diagnosis and treatment. Eur Respir Rev. 2022;31(166):220114. doi:10.1183/16000617.0114-2022

5. Liu MA, Bakow BR, Hsu T-C, et al. Temporal trends in sepsis incidence and mortality in patients with cancer in the US population. Am J Crit Care. 2021;30(4):e71–e9. doi:10.4037/ajcc2021632

6. Chen C-A, Ho C-H, Wu Y-C, et al. Epidemiology of aspergillosis in cancer patients in Taiwan. Infect Drug Resist. 2022;15:3757–3766. doi:10.2147/IDR.S370967

7. Wang R, Jiang A, Zhang R, et al. Establishment of a risk classifier to predict the in-hospital death risk of nosocomial fungal infections in cancer patients. BMC Infect Dis. 2023;23(1):472. doi:10.1186/s12879-023-08447-x

8. Nooreldeen R, Bach H. Current and future development in lung cancer diagnosis. Int J Mol Sci. 2021;22(16):8661. doi:10.3390/ijms22168661

9. Rupp J, Kramme E, Schultz H, et al. Diagnostik von Pilzinfektionen der Lunge. Pneumologie. 2010;64(05):300–310. doi:10.1055/s-0029-1244004

10. Hosseini K, Ahangari H, Chapeland-Leclerc F, et al. Role of fungal infections in carcinogenesis and cancer development: a literature review. Adv Pharm Bull. 2022;12(4):747–756. doi:10.34172/apb.2022.076

11. Budisan L, Zanoaga O, Braicu C, et al. Links between infections, lung cancer, and the immune system. Int J Mol Sci. 2021;22(17):9394. doi:10.3390/ijms22179394

12. Chang J, Kim J, Lee W. Raloxifene prevents intracellular invasion of pathogenic bacteria through modulation of cell metabolic pathways. J Antimicrob Chemother. 2022;77(6):1617–1624. doi:10.1093/jac/dkac069

13. Yu J-H, Zhao Q-Y, Liu Y, et al. The plasma levels and polymorphisms of vitronectin predict radiation pneumonitis in patients with lung cancer receiving thoracic radiation therapy. Int J Radiat Oncol Biol Phys. 2021;110(3):757–765. doi:10.1016/j.ijrobp.2021.01.018

14. Wang Y, Li J, Wu Q, et al. Pathogen distribution in pulmonary infection in Chinese patients with lung cancer: a systematic review and meta-analysis. BMC Pulm Med. 2023;23(1):402. doi:10.1186/s12890-023-02681-4

15. Dipp Ramos R, O’brien WJ, Gupta K, et al. Incidence and risk factors for long-term mesh explantation due to infection in more than 100,000 hernia operation patients. J Am Coll Surg. 2021;232(6):872–880.e2. doi:10.1016/j.jamcollsurg.2020.12.064

16. Jing Y, Wei Q, Zeng H, et al. The clinical features and prognosis of fungal pleural infection: a case series and literature review. Medicine. 2023;102(48):e36411. doi:10.1097/MD.0000000000036411

17. Eshraghi B, Khademi B, Mirmohammadkhani M, et al. Risk factors of COVID-19 associated mucormycosis in Iranian patients: a multicenter study. BMC Infect Dis. 2024;24(1):852. doi:10.1186/s12879-024-09755-6

18. Ojha AK, Albert V, Sharma S, et al. Pan-Indian clinical registry of invasive fungal infections among patients in the intensive care unit: protocol for a multicentric prospective study. JMIR Res Protoc. 2024;13:e54672. doi:10.2196/54672

19. Minnetti M, Hasenmajer V, Sbardella E, et al. Susceptibility and characteristics of infections in patients with glucocorticoid excess or insufficiency: the ICARO tool. Eur J Endocrinol. 2022;187(5):719–731. doi:10.1530/EJE-22-0454

20. Wu H, Xiong X, Han Q, et al. Instillation of amphotericin B by bronchoscopy combined with systemic voriconazole in advanced non-small cell lung cancer patients with chronic cavitary pulmonary aspergillosis: a case series and literature review. J Mycol Med. 2023;33(3):101385. doi:10.1016/j.mycmed.2023.101385

21. Chiron R, Hoefsloot W, Van Ingen J, et al. Amikacin liposomal inhalation suspension in the treatment of mycobacterium abscessus lung infection: a French observational experience. Open Forum Infect Dis. 2022;9(10):ofac465. doi:10.1093/ofid/ofac465

22. Honoré PM, Bassetti M, Cornely OA, et al. Length of hospital and intensive care unit stay in patients with invasive candidiasis and/or candidemia treated with rezafungin: a pooled analysis of two randomised controlled trials. Crit Care. 2024;28(1):361. doi:10.1186/s13054-024-05152-2

Creative Commons License © 2025 The Author(s). This work is published and licensed by Dove Medical Press Limited. The full terms of this license are available at https://www.dovepress.com/terms.php and incorporate the Creative Commons Attribution - Non Commercial (unported, 4.0) License. By accessing the work you hereby accept the Terms. Non-commercial uses of the work are permitted without any further permission from Dove Medical Press Limited, provided the work is properly attributed. For permission for commercial use of this work, please see paragraphs 4.2 and 5 of our Terms.