The dopamine receptor DOP-4 mediates the effect of food on avoidance. (A) Avoidance is not increased by food in dop-4(ok1321). Fraction of animals responding to 2 mM CuCl2. (***P<0.001, t-test), N⩾150. (B) Avoidance in dop-4(ok1321) is not increased by exogenous DA. 10 mM exogenous DA increases the avoidance to 2 mM CuCl2 in wild type and cat-2(e1112), but not in dop-4(ok1321). (***P<0.001, t-test), N⩾113. (C,D) Average neuronal responses in ASH. Grey shading indicates the duration of the stimulus. (C) Magnitude of ASH responses to 2 mM CuCl2 is not increased by food or exogenous DA in dop-4(ok1321). In wild-type animals, the magnitude of responses to 2 mM CuCl2 is increased by food and 10 mM exogenous DA, but not in dop-4(ok1321). Expression of genomic dop-4 DNA under the sra-6 promoter (ASH, ASI, PVQ) rescues ASH responses in dop-4(ok1321). Shown are the average traces. (D) Magnitude of ASH responses to 0.5 M glycerol is not increased by food in dop-4(ok1321). In wild-type animals, the magnitude of responses is increased by food, but not in dop-4(ok1321). (E, F) Quantification of ASH responses. Blue circles represent individual animals assayed. Black diamonds indicate average value. (***P<0.001, **P<0.01, Mann-Whitney rank sum test) (E) Wild-type animals have increased responses to 2 mM CuCl2 and 0.5 M glycerol on exogenous DA. In dop-4(ok1321), the responses are not increased. (F) Rescue of dop-4(ok1321) under the sra-6 promoter restores the magnitude of the response to 10 mM DA. (***P<0.001, **P<0.01, Mann–Whitney rank sum test), N⩾9.