Fig. 2.
Measuring temporal and population-level behavioral diversity. (A) To illustrate the construction of matrices measuring behavioral diversity the three behavioral states from Fig. 1F are reproduced. A 3 × 3 matrix is constructed where each entry of the matrix represents a measurement between two behavioral states. The corresponding
values are shown in white and reflected by the color (color bar below B applies to all panels). (B) Constructing
histograms from nonoverlapping segments of a full-lifetime trajectory and calculating DJS between each pair of behavioral states yields a changeability
matrix that describes temporal diversity over the lifetime of an individual. Note that the 3 × 3 matrix in A is contained within this matrix (gray lines). The redundant entries in the lower triangle of this matrix are opaque. In C we extend the calculation to capture behavioral diversity between two individuals. Each lifetime is divided into a fixed number of behavioral states (n = 100 in this case) by varying tw for each individual. These states are indexed by s rather than t. With this construction we compute DJS between behavioral states arising from the same individual, as in A and B, and from different individuals. The resulting individuality matrix,
for a pair of individuals, is shown in C. Note that the changeability matrix from C resides on the block diagonal of this individuality matrix, highlighted in gray. The upper right block of this matrix is composed of DJS values computed between behaviors exhibited by different individuals. (D) The calculation is extended to measure individuality for 30 individuals in the same chemical environment (1xR). The box in the upper left indicates the individuality matrix in C.