a, Responses on day 1 trial 1 are compared to active cells on day 3, for all mice and all cells that were registered across three days of imaging ( n = 455 cells analysed in the five mice that showed attack/mounting by day 3 of the standard resident–intruder assay). b, Top, response properties of cells on day 3, conditioned on their responses on day 1 trial 1, grouped according to the response types on trial 1. For example, among cells that responded to both males and females on day 1 trial 1, around 26% (20 out of 78) specifically responded to males on day 3, around 26% responded specifically to females; additionally, around 35% responded to neither sex and around 13% responded to both. The percentages of these categories are summarized in c. Bottom, response properties of cells on day 1 trial 1 conditioned on their response properties on day 3, grouped according to response types on day 3. The percentages in different categories are summarized in c and d. For example, of the cells that showed male-specific responses on day 3, around 54% is derived from cells that responded to neither sex on day 1 trial 1; 20% is derived from cells that responded to both sexes, 10% is derived from initially female-specific cells and 16% is derived from initially male-specific cells. Numbers used to calculate the percentages are from a. e, Analysis of the day 1 preferences of cells that responded only to males or only to females on day 3.