Genetic dissection of a mammalian behaviour pattern