Conversely, IgD- CD27- B cell %B cell (OR = 0.782, 95% CI = 0.651–0.939, P = .009), CD86+ myeloid dendritic cell %dendritic cell (OR = 0.860, 95% CI = 0.757–0.976, P = .019), BAFF-R on IgD+ CD38- unswitched memory B cell (OR = 0.919, 95% CI = 0.850–0.993, P = .032), and BAFF-R on IgD- CD38+ B cell (OR = 0.773, 95% CI = 0.628–0.953, P = .016) were identified as protective factors for NSCLC. The gene discussed is TNFRSF13C; the disease is non-small cell lung carcinoma.