gp120-treated rats display deficits in flexible attention, which are correlated with reductions in dendritic spine density. A, Vehicle- and gp120-treated SD rats were tested in a flexible attention shifting task. Animals treated with gp120 (n = 5) are deficient in reversal learning and extra-dimensional shift compared with control rats (n = 6). B, Plotting each animal's overall dendritic spine density to their trials to criterion revealed a significant inverse correlation for Reversal 2 (n = 11, Pearson's r = −0.7578, p = 0.0069) and Reversal 3 (n = 11, Pearson's r = −0.8493, p = 0.0009). *p < 0.05.