Classification groups in patients with successful treatment outcomes. (A) Dynamic analysis of the T-SPOT results in patients with and without risk factors after TB treatment. Data in each time point are expressed as mean ± SD (* p < 0.05, ** p < 0.01, and *** p < 0.001, between patients with and without risk factors in each time point). The smoothing cubic splines were fitted to the values of different parameters to summarize the overall trend. (B) Receiver operating characteristic analysis was performed for the TBAg/PHA ratio to determine threshold values for distinguishing between before treatment and after different time points of treatment. *** p < 0.001. (C) Correlation between T-SPOT results (ESAT−6 sfc, CFP−10 sfc, PHA sfc, and the TBAg/PHA ratio) and BMI in patients before treatment. (D) Bar graphs showing ESAT−6 sfc, CFP−10 sfc, PHA sfc, and the TBAg/PHA ratio in patients with BMI ≥ 18 and BMI < 18 at different time points after treatment. * p < 0.05, ** p < 0.01. ESAT−6, early secreted antigenic target 6; CFP−10, culture filtrate protein 10; PHA, phytohemagglutinin; sfc, spot-forming cells. TBAg/PHA, the ratio of TB-specific antigen to phytohemagglutinin. BMI, body mass index.