We found clear evidence of directional associations between immune cell composition and replicating Mtb. Controlling for vaccination status and endpoint post-infection, granulomas with lower CD4 or higher CD8 cell counts are associated with a higher percent of replicating Mtb. Conversely, changes in B cell proportions were associated with little change in Mtb replication. This evidence concerns the gene CD4 and infection.