A, B, In the microdroplet assay, laser ablation of RIA generated significant defects in the trained choice index (A) and learning (B) without affecting naïve choice index. The choice indexes or the learning index of ablated animals were compared with that of mock control animals with two tailed Student’s t-test (Data are presented as mean +/− SEM. *** P < 0.001, n ≥ 9 assays, error bars: SEM). C, D, In the two-choice assay, killing RIA generated significant defects in the trained choice index (C) and learning (D) without affecting naïve choice index. The choice indexes or the learning indexes of transgenic animals and non-transgenic siblings were compared with that of wild type animals with two tailed Student’s t-test. Multiple comparisons were adjusted with Bonferroni correction (Data are presented as mean +/− SEM. *** P < 0.001, ** P < 0.01, n ≥ 3 assays, error bars: SEM). E, F, In both the microdroplet assay (E) and the two-choice assay (F), osm-6 mutants exhibited significant defects in the trained choice index and expression of osm-6 cDNA in AWB and AWC neurons rescued the defects. The choice indexes of transgenic animals and non-transgenic siblings were compared with that of wild type animals with two tailed Student’s t-test. Multiple comparisons were adjusted with Bonferroni correction (Data are presented as mean +/− SEM. *** P < 0.001, ** P < 0.01, n ≥ 6 assays, error bars: SEM).