Among distinct T cell subsets, higher frequencies of naïve CD8+ T cells, CD8+ TCM cells, and CD8+ TEM cells at time of diagnosis were associated with greater probability of belonging to the stable trajectory of depression, while higher frequencies of Th17CM cells were associated with greater probability of belonging to the stable trajectory for cognitive function (Supplementary Table 4). Here, CD8A is linked to depressive disorder.