Machine-learning-based image analysis allowed for the localization of each cell, which was subsequently classified depending on its IF signal as either a: (1) TB, (2) M1 macrophage, (3) M2 macrophage, (4) total macrophage, (5) general T cell, (6) cytotoxic T cell, or (7) PD-L1+ cell. The gene discussed is CD274; the disease is tuberculosis.