Mice can use optogenetic stimulation only as a cue and generalize to other laser parameters. A, Upper panel, Schematics of the modified optogenetic-cue alternation task protocol where one out of five frequencies were randomly delivered in 50% of the trials. Bottom panel, Correct cue trials (correct frequency trials/total frequency trials). WT mice were not tested in these task variants because they did not perceive the laser only (Fig. 1E). B, Upper panel, Structure of the modified pulse task variant. In this variant, one out of six laser pulses (from 1 to 20) were randomly delivered in 60% of the trials. Below are the correct cue trials (correct pulse trials/total pulse trials). Note that TRNVGAT mice were more proficient in both task variants.