<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article
  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="3.0" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="nlm-ta">PLoS ONE</journal-id>
      <journal-id journal-id-type="publisher-id">plos</journal-id>
      <journal-id journal-id-type="pmc">plosone</journal-id>
      <journal-title-group>
        <journal-title>PLoS ONE</journal-title>
      </journal-title-group>
      <issn pub-type="epub">1932-6203</issn>
      <publisher>
        <publisher-name>Public Library of Science</publisher-name>
        <publisher-loc>San Francisco, USA</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="publisher-id">PONE-D-12-22085</article-id>
      <article-id pub-id-type="doi">10.1371/journal.pone.0048865</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Research Article</subject>
        </subj-group>
        <subj-group subj-group-type="Discipline-v2">
          <subject>Biology</subject>
          <subj-group>
            <subject>Ecology</subject>
            <subj-group>
              <subject>Behavioral ecology</subject>
            </subj-group>
          </subj-group>
          <subj-group>
            <subject>Evolutionary biology</subject>
            <subj-group>
              <subject>Animal behavior</subject>
            </subj-group>
          </subj-group>
          <subj-group>
            <subject>Model organisms</subject>
            <subj-group>
              <subject>Animal models</subject>
              <subj-group>
                <subject>Zebrafish</subject>
              </subj-group>
            </subj-group>
          </subj-group>
          <subj-group>
            <subject>Neuroscience</subject>
            <subj-group>
              <subject>Animal cognition</subject>
            </subj-group>
          </subj-group>
          <subj-group>
            <subject>Zoology</subject>
            <subj-group>
              <subject>Animal behavior</subject>
            </subj-group>
          </subj-group>
        </subj-group>
        <subj-group subj-group-type="Discipline-v2">
          <subject>Social and behavioral sciences</subject>
          <subj-group>
            <subject>Psychology</subject>
            <subj-group>
              <subject>Experimental psychology</subject>
            </subj-group>
          </subj-group>
        </subj-group>
        <subj-group subj-group-type="Discipline">
          <subject>Neuroscience</subject>
          <subject>Evolutionary Biology</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>From Schooling to Shoaling: Patterns of Collective Motion in Zebrafish (<italic>Danio rerio</italic>)</article-title>
        <alt-title alt-title-type="running-head">From Schooling to Shoaling</alt-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Miller</surname>
            <given-names>Noam</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">
            <sup>1</sup>
          </xref>
          <xref ref-type="corresp" rid="cor1">
            <sup>*</sup>
          </xref>
        </contrib>
        <contrib contrib-type="author" xlink:type="simple">
          <name name-style="western">
            <surname>Gerlai</surname>
            <given-names>Robert</given-names>
          </name>
          <xref ref-type="aff" rid="aff2">
            <sup>2</sup>
          </xref>
          <xref ref-type="corresp" rid="cor1">
            <sup>*</sup>
          </xref>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <addr-line>Department of Ecology and Evolutionary Biology, Princeton University, Princeton, New Jersey, United States of America</addr-line>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <addr-line>Department of Psychology, University of Toronto at Mississauga, Mississauga, Ontario, Canada</addr-line>
      </aff>
      <contrib-group>
        <contrib contrib-type="editor" xlink:type="simple">
          <name name-style="western">
            <surname>de Polavieja</surname>
            <given-names>Gonzalo G.</given-names>
          </name>
          <role>Editor</role>
          <xref ref-type="aff" rid="edit1"/>
        </contrib>
      </contrib-group>
      <aff id="edit1">
        <addr-line>Cajal Institute, Consejo Superior de Investigaciones Científicas, Spain</addr-line>
      </aff>
      <author-notes>
        <corresp id="cor1">* E-mail: <email xlink:type="simple">nymiller@princeton.edu</email> (NM); <email xlink:type="simple">robert_gerlai@yahoo.com</email> (RG)</corresp>
        <fn fn-type="conflict">
          <p>The authors have declared that no competing interests exist.</p>
        </fn>
        <fn fn-type="con">
          <p>Conceived and designed the experiments: NM RG. Performed the experiments: NM. Analyzed the data: NM. Wrote the paper: NM RG.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2012</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>14</day>
        <month>11</month>
        <year>2012</year>
      </pub-date>
      <volume>7</volume>
      <issue>11</issue>
      <elocation-id>e48865</elocation-id>
      <history>
        <date date-type="received">
          <day>27</day>
          <month>7</month>
          <year>2012</year>
        </date>
        <date date-type="accepted">
          <day>4</day>
          <month>10</month>
          <year>2012</year>
        </date>
      </history>
      <permissions>
        <copyright-year>2012</copyright-year>
        <copyright-holder>Miller, Gerlai</copyright-holder>
        <license xlink:type="simple">
          <license-p>This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
        </license>
      </permissions>
      <abstract>
        <p>Animal groups on the move can take different configurations. For example, groups of fish can either be ‘shoals’ or ‘schools’: shoals are simply aggregations of individuals; schools are shoals exhibiting polarized, synchronized motion. Here we demonstrate that polarization distributions of groups of zebrafish (<italic>Danio rerio</italic>) are bimodal, showing two distinct modes of collective motion corresponding to the definitions of shoaling and schooling. Other features of the group's motion also vary consistently between the two modes: zebrafish schools are faster and less dense than zebrafish shoals. Habituation to an environment can also alter the proportion of time zebrafish groups spend schooling or shoaling. Models of collective motion suggest that the degree and stability of group polarization increases with the group's density. Examining zebrafish groups of different sizes from 5 to 50, we show that larger groups are less polarized than smaller groups. Decreased fearfulness in larger groups may function similarly to habituation, causing them to spend more time shoaling than schooling, contrary to most models' predictions.</p>
      </abstract>
      <funding-group>
        <funding-statement>This study was supported in part by an Ontario Graduate Scholarship to NM. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. No additional external funding received for this study.</funding-statement>
      </funding-group>
      <counts>
        <page-count count="6"/>
      </counts>
    </article-meta>
  </front>
  <body>
    <sec id="s1">
      <title>Introduction</title>
      <p>Living and traveling in groups confer multiple benefits in avoiding predation and improved foraging <xref ref-type="bibr" rid="pone.0048865-Krause1">[1]</xref> and individuals of a majority of fish species spend some part of the their lives in groups <xref ref-type="bibr" rid="pone.0048865-Shaw1">[2]</xref>. Groups of fish are commonly termed either shoals or schools and several authors have drawn a distinction between the two terms <xref ref-type="bibr" rid="pone.0048865-Pitcher1">[3]</xref>: shoal refers to any group of fish that “remain together for social reasons” (i.e., not solely due to an external stimulus <xref ref-type="bibr" rid="pone.0048865-Pitcher2">[4]</xref>) whilst schools are shoals that are “polarized and coordinated” <xref ref-type="bibr" rid="pone.0048865-Pitcher2">[4]</xref>. Polarization is a measure of the degree to which members of the group are moving in the same direction. Being in a polarized group may confer anti-predatory advantages beyond those available in a disordered shoal, for instance through increased predator confusion <xref ref-type="bibr" rid="pone.0048865-Bode1">[5]</xref>, and may make it easier to detect any sudden deviation in the heading of a conspecific, potentially a sign of impending danger <xref ref-type="bibr" rid="pone.0048865-Krause1">[1]</xref>. Polarized motion may also help fast-moving groups to stay together (or even be required to maintain the cohesion of fast groups) – particularly important for migrating species – and may improve the flow of information through the group <xref ref-type="bibr" rid="pone.0048865-Couzin1">[6]</xref>, <xref ref-type="bibr" rid="pone.0048865-Day1">[7]</xref>.</p>
      <p>Additionally, some theoretical models of collective motion predict a sharp density-dependent transition from a low polarization regime (corresponding to shoaling) to a high polarization regime (schooling <xref ref-type="bibr" rid="pone.0048865-Viczek1">[8]</xref>). However, these models do not consider indirect effects on collective motion resulting from changes in group size. For instance, members of larger groups may experience lower stress levels than members of smaller groups and these changes may themselves affect the polarization of the group.</p>
      <p>Despite broad acceptance of the distinction between schooling and shoaling <xref ref-type="bibr" rid="pone.0048865-Pitcher2">[4]</xref>, no work that we are aware of has examined the empirical characteristics of each behavioral mode (as called for, e.g., by <xref ref-type="bibr" rid="pone.0048865-Partridge1">[9]</xref>) or sought to find what determines which of the two modes of motion groups adopt, other than group density. Here we show that polarization distributions of groups of zebrafish (<italic>Danio rerio</italic>) are bimodal, implying a behavioural distinction between highly polarized groups – schools – and weakly polarized groups – shoals – and that other features of collective motion, such as the mean speeds of group members and the mean spacing between them, correlate with polarization (Experiment 1). We also show that the dominant mode of motion exhibited by a group depends on several environmental conditions such as the group's habituation to the environment (Experiments 1 and 2) and the size of the group (Experiment 3). Interestingly, in our data polarization is negatively correlated with the size of the group, in contrast to the predictions of some models. We suggest that this may result from a failure of these models to consider indirect effects of changes in group size.</p>
    </sec>
    <sec id="s2">
      <title>Results</title>
      <sec id="s2a">
        <title>Experiments 1 and 2</title>
        <p>Using detailed swimming trajectories of groups of 8 zebrafish each (see <xref ref-type="sec" rid="s4">Methods</xref>), we constructed the mean distributions of the polarization of the group. Polarization distributions were bimodal (<xref ref-type="fig" rid="pone-0048865-g001">Figure 1</xref>), implying that groups of zebrafish often form either highly polarized schools or weakly polarized shoals but take intermediate forms less frequently. We explicitly tested each distribution for bimodality (see <xref ref-type="sec" rid="s4">Methods</xref>): of 118 analyzed distributions, all but 21 were bimodal and the peaks of most distributions that were unimodal fell clearly into one or the other behavioral form (<xref ref-type="supplementary-material" rid="pone.0048865.s002">Figure S2</xref>).</p>
        <fig id="pone-0048865-g001" position="float">
          <object-id pub-id-type="doi">10.1371/journal.pone.0048865.g001</object-id>
          <label>Figure 1</label>
          <caption>
            <title>Density distributions of polarization by testing day for Experiment 1.</title>
            <p>Summed polarization distributions for repeated exposures to the testing tank on consecutive days. Distributions are averaged across the entire session (1800 frames per session) and over all groups (24 groups of 8 fish each). As fish habituate to the tank across days they spend more time shoaling (low polarization) and less time schooling (high polarization; K-S test, days 1–2 vs. days 3–5, all p&lt;0.0001; see <xref ref-type="supplementary-material" rid="pone.0048865.s007">Table S1</xref>). The inset shows a sample distribution from one complete session (1800 frames) (red) and its decomposition into schooling and shoaling modes (black), by fitting a Gaussian mixed model (see text). Note that each session's distribution was tested for bimodality independently.</p>
          </caption>
          <graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0048865.g001" position="float" xlink:type="simple"/>
        </fig>
        <p>Polarization distributions changed dramatically with repeated exposure to the testing tank (<xref ref-type="fig" rid="pone-0048865-g001">Figure 1</xref>; <xref ref-type="supplementary-material" rid="pone.0048865.s007">Table S1</xref>), becoming increasingly biased towards shoaling. A similar effect was observed across multiple hours of a single extended exposure to the testing tank (<xref ref-type="fig" rid="pone-0048865-g002">Figure 2</xref>) and these effects were highly significant (<xref ref-type="supplementary-material" rid="pone.0048865.s007">Tables S1</xref>, <xref ref-type="supplementary-material" rid="pone.0048865.s008">S2</xref>). In other words, zebrafish groups spent more time shoaling and less time schooling as they habituated to the testing environment (<xref ref-type="fig" rid="pone-0048865-g003">Figure 3a</xref>). The degree of polarization of schools (the position of the peak corresponding to schooling in the distribution) did not change across repeated exposures to the tank (Repeated Measures ANOVA, F(4, 24) = 1.994, p = 0.128) but the degree of polarization of shoals decreased, i.e., shoals became more disorganized (F(4,24) = 2.816, p = 0.048) as fish habituated to the tank (<xref ref-type="fig" rid="pone-0048865-g003">Figure 3b</xref>). This result implies that schooling is a fixed behavioral pattern whereas the characteristics of shoals may depend on environmental factors (such as habituation).</p>
        <fig id="pone-0048865-g002" position="float">
          <object-id pub-id-type="doi">10.1371/journal.pone.0048865.g002</object-id>
          <label>Figure 2</label>
          <caption>
            <title>Density distributions of polarization by hour for Experiment 2.</title>
            <p>Summed polarization distributions for each hour of a single, 4 hour, exposure to the testing tank. Distributions are averaged across the entire session (1800 frames per session) and all groups (8 groups of 8 fish each). A similar effect of habituation is seen to that observed in <xref ref-type="fig" rid="pone-0048865-g001">Figure 1</xref>, with increased shoaling and decreased schooling as time passes (K-S test, hour 1 vs. hours 2–4, all p&lt;0.001; see <xref ref-type="supplementary-material" rid="pone.0048865.s008">Table S2</xref>).</p>
          </caption>
          <graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0048865.g002" position="float" xlink:type="simple"/>
        </fig>
        <fig id="pone-0048865-g003" position="float">
          <object-id pub-id-type="doi">10.1371/journal.pone.0048865.g003</object-id>
          <label>Figure 3</label>
          <caption>
            <title>Ratio of the mean time spent schooling to shoaling (a) and mean modes of polarization distribution components (b) by testing day in Experiment 1.</title>
            <p>Unimodal data distributions were excluded. Error bars represent ± SEM. The spike in time spent schooling on day 2 (a) is attributable to a few outlier sessions.</p>
          </caption>
          <graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0048865.g003" position="float" xlink:type="simple"/>
        </fig>
        <p>Next, we segmented all the trajectories by which mode they fell into: each frame of data was designated either a schooling or shoaling frame by the polarization of the group at that time-point (unimodal distributions were excluded from this analysis). Most segments lasted only a few seconds, reflecting rapid changes in the groups' polarization, but groups spent over a third of their time (36.4%) in schooling or shoaling segments lasting longer than 30 sec. 2.45% of schooling and 8.87% of shoaling segments lasted for more than 1 min. Shoaling segments were longer, on average, than schooling segments (<xref ref-type="supplementary-material" rid="pone.0048865.s003">Figure S3</xref>; <xref ref-type="supplementary-material" rid="pone.0048865.s009">Table S3</xref>).</p>
        <p>Finally, we compared the two modes of behaviour on other measures of collective motion: for each frame in each behavioral mode we measured the mean Nearest Neighbor Distance (NND), mean Inter-Individual Distance (IID; the mean distance between an individual and all other members of the group), and mean individual speed (<xref ref-type="fig" rid="pone-0048865-g004">Figure 4</xref>). Fish were further apart when in schools than when in shoals (paired-sample t-test; NND, t = 8.51, p&lt;0.0001; IID, t = 9.59, p&lt;0.0001) and swam faster (t = 14.92, p&lt;0.0001). The latter distinction, a positive correlation between speed and polarization, has been previously noted in other fish species <xref ref-type="bibr" rid="pone.0048865-Parrish1">[10]</xref>.</p>
        <fig id="pone-0048865-g004" position="float">
          <object-id pub-id-type="doi">10.1371/journal.pone.0048865.g004</object-id>
          <label>Figure 4</label>
          <caption>
            <title>Differences in Nearest Neighbor Distance (NND), Inter-Individual Distance (IID), and mean speed between shoals and schools in Experiment 1 (means of 24 groups of 8 fish each).</title>
            <p>All differences were significant (paired-sample t-test, all p&lt;0.0001). Error bars represent ± SEM.</p>
          </caption>
          <graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0048865.g004" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec id="s2b">
        <title>Experiment 3</title>
        <p>We next tested how changes in group size affect which behavioral mode the group inhabits. Some models of collective motion <xref ref-type="bibr" rid="pone.0048865-Viczek1">[8]</xref> suggest that the polarization of a group depends on its size or density, an effect that has also been observed in some behavioral data <xref ref-type="bibr" rid="pone.0048865-Buhl1">[11]</xref>, <xref ref-type="bibr" rid="pone.0048865-Becco1">[12]</xref>. In these situations, both theoretical and empirical, small groups have widely and rapidly varying polarization; as group size increases polarization both increases and becomes more stable, so that large groups are highly polarized and rarely change direction. We tested groups of zebrafish over a range of group sizes (N = 5, 10, 20, 30, and 50) and applied the same analyses to the data as above (sample polarization time-series' are presented in <xref ref-type="supplementary-material" rid="pone.0048865.s004">Figure S4</xref>). <xref ref-type="fig" rid="pone-0048865-g005">Figure 5</xref> shows the summed polarization distributions for all group sizes. Contrary to our expectations, and the predictions of the models, larger zebrafish groups were significantly less polarized, on average, than smaller groups (<xref ref-type="supplementary-material" rid="pone.0048865.s010">Table S4</xref>), spending more of their time shoaling and less time schooling. NND did not vary consistently across group sizes (<xref ref-type="supplementary-material" rid="pone.0048865.s005">Figure S5A</xref>). Larger shoals were somewhat slower on average than smaller shoals (<xref ref-type="supplementary-material" rid="pone.0048865.s005">Figure S5B</xref>), though this may simply reflect the greater amount of time they spent shoaling. Note that the mean NND of groups in this experiment was lower than that of groups in Experiment 1.</p>
        <fig id="pone-0048865-g005" position="float">
          <object-id pub-id-type="doi">10.1371/journal.pone.0048865.g005</object-id>
          <label>Figure 5</label>
          <caption>
            <title>Density distributions of polarization by group size for Experiment 3.</title>
            <p>Summed polarization distributions for each group size (N = 5, 10, 20, 30, and 50). Distributions are averaged across the entire session (1800 frames per session) and all groups (4 groups of each size). Larger groups are significantly less polarized than smaller groups (K-S test, all p&lt;0.0001; see <xref ref-type="supplementary-material" rid="pone.0048865.s009">Table S3</xref>).</p>
          </caption>
          <graphic mimetype="image" xlink:href="info:doi/10.1371/journal.pone.0048865.g005" position="float" xlink:type="simple"/>
        </fig>
      </sec>
    </sec>
    <sec id="s3">
      <title>Discussion</title>
      <p>Above, we show that zebrafish more frequently form either highly or weakly polarized groups and rarely take intermediate forms. We call these modes schooling and shoaling, respectively, following the terminology common in the literature <xref ref-type="bibr" rid="pone.0048865-Pitcher2">[4]</xref>. However, it might be argued that the distinction between schools and shoals should refer only to changes that persist for longer periods of time and that the fluctuations in polarization in our data, often lasting only a few seconds (<xref ref-type="supplementary-material" rid="pone.0048865.s003">Figure S3</xref>), represent no more than noise around one mode or the other. Nonetheless, our data demonstrate that groups of zebrafish exist predominantly in two statistically distinct modes of collective motion rather than intermediate forms. We also show that both social environment and internal states can affect the distribution of group polarization which, in some cases, might lead to long periods spent strictly in one mode or the other. Such situations would more closely correspond to the traditional distinction between schooling and shoaling but would, according to this account, represent merely extreme manifestations of the same mechanisms revealed in our data.</p>
      <p>Additionally, the walls of the testing tank might have had different effects on large vs. small or on habituated vs. stressed groups. Zebrafish (and other species) tend to remain close to the walls of novel environments and this thigmotactic response might have acted to linearize, and thus polarize, the fish in our groups. Larger (more numerous) groups may have filled a larger portion of the tank and thus been unable to remain sufficiently close to the walls of the tank for any polarizing effect to be felt throughout the group. However, we note that in our data, large and habituated groups were still able to achieve high levels of polarization, equal to those demonstrated by smaller or more stressed groups, they simply did so less often (or for shorter periods of time). Thus, as shown in <xref ref-type="fig" rid="pone-0048865-g001">Figure 1</xref>, habituating and habituated groups still displayed schooling behavior which was as polarized as their schooling on earlier days (<xref ref-type="fig" rid="pone-0048865-g003">Figure 3B</xref>) but they performed this behavior less often.</p>
      <p>Partridge <xref ref-type="bibr" rid="pone.0048865-Partridge1">[9]</xref> suggested that the collective motion of different species of fish might best be characterized by the proportion of time that they spend schooling. Our data (e.g., <xref ref-type="fig" rid="pone-0048865-g002">Figure 2B</xref>) demonstrate that factors other than species also contribute to this ratio. Both group size and habituation to the environment affect the proportion of time zebrafish groups spend in each mode. Rather than smoothing out the polarization distribution and eliminating its bimodality, changes in these variables serve primarily to alter the relative amplitudes of the two modes, suggesting that they mark two distinct methods of forming a group. This suggestion is supported by differences in other characteristics, such as the speed and density of the group, between the two modes.</p>
      <p>The changes we observed in polarization and in the proportion of time spent in each of the two modes of motion may be explained by changes in the level of fear (or stress) of the fish. As fish habituate to the testing environment, either over repeated exposures to it (Experiment 1) or simply over time during a single exposure (Experiment 2), or when fish are in a larger group (Experiment 3), they might be less fearful and therefore more likely to adopt a shoaling configuration rather than schooling. This would further suggest that schooling behaviour is maintained, under stressful conditions, at some energetic or cognitive cost over shoaling behaviour. This cost might be associated with greater attention required to school <xref ref-type="bibr" rid="pone.0048865-Bode1">[5]</xref> or, indirectly, with the metabolic costs of swimming faster (as we and others have shown that individuals in schools swim more quickly than those in shoals).</p>
      <p>Schooling may provide greater protection from predation than shoaling but may hinder individual foraging, particularly for individuals near the back of the school. We <xref ref-type="bibr" rid="pone.0048865-Miller1">[13]</xref> have previously shown that the density of zebrafish groups oscillates with a characteristic frequency and suggested that this may represent a solution to the trade-off between protection, which is enhanced by closeness to conspecifics, and foraging, which is easier at some distance from the rest of the group <xref ref-type="bibr" rid="pone.0048865-Miller2">[14]</xref>. The present data demonstrate another way that zebrafish balance these conflicting requirements, by adjusting the proportion of time they spend shoaling or schooling to match their current social conditions.</p>
      <p>Most models of collective motion assign a set of simple rules to each individual, dependent on its local environment <xref ref-type="bibr" rid="pone.0048865-Viczek1">[8]</xref>, <xref ref-type="bibr" rid="pone.0048865-Couzin2">[15]</xref>–<xref ref-type="bibr" rid="pone.0048865-Hemelrijk1">[22]</xref> and the combination of many such local interactions gives rise to globally coordinated motion, closely simulating the movement of real groups of fish. Many of these models exhibit both shoaling and schooling under different parameter regimes (e.g., <xref ref-type="bibr" rid="pone.0048865-Couzin2">[15]</xref>). In some cases increasing the size of the simulated group, and thus the number of local interactions, leads to an increase in polarization and stabilization of the polarization <xref ref-type="bibr" rid="pone.0048865-Viczek1">[8]</xref>, <xref ref-type="bibr" rid="pone.0048865-Czirok1">[17]</xref>, a result that is supported by some empirical data <xref ref-type="bibr" rid="pone.0048865-Buhl1">[11]</xref>, <xref ref-type="bibr" rid="pone.0048865-Becco1">[12]</xref>. In our data, larger groups of zebrafish were more likely to shoal, displaying low polarization, than smaller groups, contrary to the predictions of such models. This may reflect an additional behavioral ‘rule’ that is not accounted for by current models of collective motion and plays a smaller role in the species studied to date under varying densities <xref ref-type="bibr" rid="pone.0048865-Buhl1">[11]</xref>, <xref ref-type="bibr" rid="pone.0048865-Becco1">[12]</xref>, possibly one that depends on the stress or fear levels of the animals, as suggested above. This effect, in our data, is sufficiently powerful to completely overshadow any increase in polarization resulting from larger group sizes. Recently, a possible mechanism has been suggested <xref ref-type="bibr" rid="pone.0048865-Bode1">[5]</xref> by which an increase in stress levels may lead to individuals increasing the rate at which they examine their relative position and orientation to the group and this increased ‘update rate’ may result in increased polarization.</p>
      <p>Our data provide quantitative support for the long-standing definition in the literature between schooling and shoaling and demonstrate how some environmental variables can affect the proportion of time zebrafish groups spend in each mode. To the best of our knowledge, this distinction has been studied only in groups of fish. However, it is likely that similar processes of habituation and similar group-size effects to those observed here operate in other group-living taxa. Do herds of mammals or flocks of birds also have two (or more) distinct modes of collective motion? Examining the polarization distributions of other species may reveal interesting similarities and differences in their methods of collective motion.</p>
    </sec>
    <sec id="s4" sec-type="methods">
      <title>Methods</title>
      <sec id="s4a">
        <title>Ethics statement</title>
        <p>All animal procedures were approved by the University of Toronto at Mississauga Animal Care Committee and followed the guidelines set by the Canadian Council on Animal Care (CCAC).</p>
      </sec>
      <sec id="s4b">
        <title>Subjects</title>
        <p>Subjects were all laboratory-reared sexually mature zebrafish 3–12 months of age and were 3–4 cm long. All fish were bred in-house. In Experiment 1, 24 groups of 8 fish per group were tested for five consecutive days each; In Experiment 2, 8 groups of 8 fish each were tested once each; and in Experiment 3, 4 groups of each size (N = 5, 10, 20, 30, and 50 fish) were tested once each. All groups consisted of approximately equal numbers of males and females. Groups of fish to be tested together were housed together for at least one week prior to the start of each experiment. Fish were housed in 40-litre tanks containing ‘system’ water that was previously reverse osmosis purified and mixed with sea salt (‘Instant Ocean’ sea salt, Aquarium Systems Inc., OH) so that the conductivity of the water was between 900–1200 micro Siemens (576–768 TDS ppm). The water in the tanks was filtered (Aqueon PowerFilter 30, Franklin, WI), aerated, and maintained at a temperature of 26±2°C. Lights in the room in which the fish were kept turned on at 7:00 h and off at 21:00 h. Fish were fed flake food (Tetramin Tropical Flakes, Tetra, USA) <italic>ad lib</italic>, 30 min before each testing session.</p>
      </sec>
      <sec id="s4c">
        <title>Apparatus</title>
        <p>Fish were tested in a circular white plastic tank with a diameter of 91 cm, filled with system water to a depth of 10 cm (<xref ref-type="supplementary-material" rid="pone.0048865.s006">Figure S6</xref>), located in one corner of the room where they were housed. The temperature of the water in the tank was kept at 26±2°C. A moveable black room divider visually separated the tank from the rest of the room. The tank was lit by two fluorescent light fixtures placed at opposite sides of the tank, ensuring an even level of illumination in all parts of the tank. Experiments were filmed using a Sony Handycam (model HDR-XR-520) attached to the ceiling with the lens of the camera 200 cm above the surface of the water, located so that the entire tank was visible in the frame of the video. Videos, at 1920×1080 pixels and 12 fps, were converted into AVI format using iSkySoft Video Converter (v 2.2).</p>
      </sec>
      <sec id="s4d">
        <title>Procedure</title>
        <p>All testing was performed between 10:00 and 14:00 h each day. Fish were gently netted from their home tank and transferred in a plastic beaker to the testing tank. They were then gently poured into the center of the tank. After the session ended, fish were netted into the beaker and returned to their home tank. Sessions lasted for 30 min in Experiments 1 and 3, and for 4 hours in Experiment 2. The water in the testing tank was replaced after each two groups had been tested to control for possible odor cues left by previous groups. Sample videos of the sessions are in the Supplementary Materials (<xref ref-type="supplementary-material" rid="pone.0048865.s011">Videos S1</xref><xref ref-type="supplementary-material" rid="pone.0048865.s012">S2</xref>, <xref ref-type="supplementary-material" rid="pone.0048865.s013">S3</xref>, <xref ref-type="supplementary-material" rid="pone.0048865.s014">S4</xref>, <xref ref-type="supplementary-material" rid="pone.0048865.s015">S5</xref>, <xref ref-type="supplementary-material" rid="pone.0048865.s016">S6</xref>, <xref ref-type="supplementary-material" rid="pone.0048865.s017">S7</xref>, <xref ref-type="supplementary-material" rid="pone.0048865.s018">S8</xref>, <xref ref-type="supplementary-material" rid="pone.0048865.s019">S9</xref>, <xref ref-type="supplementary-material" rid="pone.0048865.s020">S10</xref>).</p>
      </sec>
      <sec id="s4e">
        <title>Data analysis</title>
        <p>A custom application (described in <xref ref-type="bibr" rid="pone.0048865-Miller3">[23]</xref>) extracted the swim path trajectories of all the fish for a 5 min segment of each trial, starting 5 min after the fish were placed in the testing tank. Briefly, the tracking system identified each fish in each frame of video by subtracting it from a reference image that did not contain the fish and locating ‘clumps’ of pixels that were sufficiently different in the two images. Locations were then stitched together into trajectories assuming that fish did not move very far in the time between consecutive frames (0.08 sec). Occlusions (when two or more fish occupied the same clump) were resolved by assuming that fish turned minimally during the occlusion or, when necessary, manually (see <xref ref-type="bibr" rid="pone.0048865-Miller3">[23]</xref> for details). In Experiments 1 and 3 only one 5 min segment per session was coded; in Experiment 2, one 5 min segment was coded for each hour of the session (i.e., mins 5–10, 65–70, 125–130, and 185–190). Raw trajectories were analyzed using <italic>Mathematica</italic> (v 7.0; Wolfram Research). The trajectories were smoothed with a linear (unweighted) moving average, using a window of 0.5 sec. Any fish that had temporarily left the group, as defined in <xref ref-type="bibr" rid="pone.0048865-Miller4">[24]</xref>, were excluded from analysis for the duration of their excursion. Individuals or sub-groups of size <italic>n</italic> were considered to be separate from the main shoal (on an excursion) when their NND<sub>n</sub> (i.e., the distance to their <italic>n</italic>th nearest neighbor) was greater than the mode of the distribution of all NND<sub>n</sub> (see <xref ref-type="bibr" rid="pone.0048865-Miller4">[24]</xref> for details). Using the data from Experiment 3 we demonstrate, however, that considering only cohesive groups did not change the basic features of the resulting distributions (<xref ref-type="supplementary-material" rid="pone.0048865.s001">Figure S1b</xref>). However, the data with excursions removed are presented in the main text as this method more accurately reflects the behavior of the shoal <xref ref-type="bibr" rid="pone.0048865-Miller4">[24]</xref>.</p>
        <p>Polarization was defined in 2 different ways, to control for possible boundary effects caused by the curved wall of the testing arena. The data presented in the main text use the standard definition of polarization as the magnitude of the mean movement vector of all members of the group (<inline-formula><inline-graphic xlink:href="info:doi/10.1371/journal.pone.0048865.e001" xlink:type="simple"/></inline-formula>, where <italic>v<sub>i</sub></italic> is the movement vector of fish <italic>i</italic> in a group of size N). However, large groups swimming along the walls of our circular tank might be less polarized than smaller groups simply because they adhere to the curvature of the walls and inhabit a larger arc of the circle. To overcome this difficulty, we recalculated the orientation of each fish in each frame relative to the (tangent to the) wall of the tank at the nearest point to the fish, effectively linearizing the tank walls. We then recalculated the polarization of the group using these relative orientations. We show that the polarization distributions generated using this modified procedure are not qualitatively different from those generated by the standard measure (<xref ref-type="supplementary-material" rid="pone.0048865.s001">Figure S1a</xref>).</p>
        <p>Polarization distributions were individually tested (i.e., the distribution from each session was tested) for bimodality using a Maximum Likelihood Estimation (MLE) method: the best-fit mixed-Gaussian models with one, two, and three components were found for each distribution; likelihood scores were calculated for each model; and the Bayesian Information Criterion (BIC) was used to select the most likely model <xref ref-type="bibr" rid="pone.0048865-Drai1">[25]</xref>. For bimodal distributions, pairs of Gaussian distributions were fit to the distribution and the point at which they crossed was used as a threshold to partition the data into its component modes (<xref ref-type="fig" rid="pone-0048865-g001">Figure 1</xref>, inset). Note that, as a result, the assignment of frames of data as either schooling or shoaling is session-dependent. All statistical analyses were conducted either in <italic>Mathematica</italic> or SPSS (v 17.0). A significance level of 0.05 was used for all tests. In Experiment 1, 2 sessions had to be excluded from analysis due to video recording errors.</p>
      </sec>
    </sec>
    <sec id="s5">
      <title>Supporting Information</title>
      <supplementary-material id="pone.0048865.s001" mimetype="image/tiff" xlink:href="info:doi/10.1371/journal.pone.0048865.s001" position="float" xlink:type="simple">
        <label>Figure S1</label>
        <caption>
          <p><bold>Polarization distributions for Experiment 3, using alternate measures of polarization.</bold> These figures display the same data as <xref ref-type="fig" rid="pone-0048865-g005">Figure 5</xref> in the main text, but calculated using an alternate measure of polarization that eliminates potential effects of the curved testing tank walls (a) and without excluding fish that had left the group on excursions (b). All comparisons between the distributions for different group sizes were qualitatively identical to those for the original data, presented in the main text.</p>
          <p>(TIF)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s002" mimetype="image/tiff" xlink:href="info:doi/10.1371/journal.pone.0048865.s002" position="float" xlink:type="simple">
        <label>Figure S2</label>
        <caption>
          <p><bold>Binned modes of unimodal polarization distributions in Experiment 1.</bold> The largest number of unimodal distributions occurred on the first day of exposure to the testing environment (8 of 21) and represent sessions in which the group spent most of its time schooling (high polarization).</p>
          <p>(TIF)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s003" mimetype="image/tiff" xlink:href="info:doi/10.1371/journal.pone.0048865.s003" position="float" xlink:type="simple">
        <label>Figure S3</label>
        <caption>
          <p><bold>Survival curves for schooling (a) and shoaling (b) segments for Experiment 1.</bold> The curves show the proportion of segments of each mode that lasted longer than a given length of time. Mean schooling segment length was 4.7 sec and mean shoaling segment length was 9.4 sec. Data are plotted on a Log-linear axis.</p>
          <p>(TIF)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s004" mimetype="image/tiff" xlink:href="info:doi/10.1371/journal.pone.0048865.s004" position="float" xlink:type="simple">
        <label>Figure S4</label>
        <caption>
          <p><bold>Sample time-series' of polarization.</bold> Each panel shows the polarization of a single group for the first 2 min of a sample session. The top left panel shows a transition from schooling (high polarization) to shoaling (low polarization) from Experiment 1 (N = 8). The other 5 panels show representative samples of the polarizations of groups of different sizes (N = 5, 10, 20, 30, and 50) from Experiment 3.</p>
          <p>(TIF)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s005" mimetype="image/tiff" xlink:href="info:doi/10.1371/journal.pone.0048865.s005" position="float" xlink:type="simple">
        <label>Figure S5</label>
        <caption>
          <p><bold>Mean NND (A) and mean speed (B) of zebrafish shoals of different sizes, from Experiment 3.</bold> The charts show the mean NND and mean speed over all frames of all groups at each shoal size. Error bars represent ± SEM.</p>
          <p>(TIF)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s006" mimetype="image/tiff" xlink:href="info:doi/10.1371/journal.pone.0048865.s006" position="float" xlink:type="simple">
        <label>Figure S6</label>
        <caption>
          <p><bold>Diagram of the experimental setup.</bold> The camera was mounted on the ceiling such that the entire testing tank was visible in the frame. Two fluorescent lamps lit the tank from the sides, placed just above the lip of the tank to avoid glare in the video image. The tank was 91 cm in diameter and filled with water to a depth of 10 cm. Adapted from Miller, N. &amp; Gerlai, R. (2012). Automated tracking of zebrafish shoals and the analysis of shoaling behavior. In A.V. Kalueff and A.M. Stewart (eds.) <italic>Zebrafish protocols for neurobehavioral research</italic> (New York: Humana Press) pp. 217–230.</p>
          <p>(TIF)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s007" mimetype="application/pdf" xlink:href="info:doi/10.1371/journal.pone.0048865.s007" position="float" xlink:type="simple">
        <label>Table S1</label>
        <caption>
          <p><bold>Comparisons of polarization distributions by day in Experiment 1.</bold> Summed distributions (shown in <xref ref-type="fig" rid="pone-0048865-g001">Figure 1</xref>) were compared between repeated exposures to the testing environment using a 2-sample Kolmogorov-Smirnov test. The top half of the table presents the test statistic values; the bottom half presents p-values. Non-significant p-values are shaded.</p>
          <p>(PDF)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s008" mimetype="application/pdf" xlink:href="info:doi/10.1371/journal.pone.0048865.s008" position="float" xlink:type="simple">
        <label>Table S2</label>
        <caption>
          <p><bold>Comparisons of polarization distributions by hour in Experiment 2.</bold> Summed distributions (shown in <xref ref-type="fig" rid="pone-0048865-g002">Figure 2</xref>) were compared between hours of the session using a 2-sample Kolmogorov-Smirnov test. The top half of the table presents the test statistic values; the bottom half presents p-values. Non-significant p-values are shaded.</p>
          <p>(PDF)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s009" mimetype="application/pdf" xlink:href="info:doi/10.1371/journal.pone.0048865.s009" position="float" xlink:type="simple">
        <label>Table S3</label>
        <caption>
          <p><bold>Schooling and shoaling segment lengths by day in Experiment 1.</bold> Mean durations of schooling and shoaling segments for each day of Experiment 1. Mean segment lengths ± standard deviations are given in seconds.</p>
          <p>(PDF)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s010" mimetype="application/pdf" xlink:href="info:doi/10.1371/journal.pone.0048865.s010" position="float" xlink:type="simple">
        <label>Table S4</label>
        <caption>
          <p><bold>Comparisons of polarization distributions by group size in Experiment 3.</bold> Summed distributions (shown in <xref ref-type="fig" rid="pone-0048865-g005">Figure 5</xref>) were compared using a 2-sample Kolmogorov-Smirnov test. The top half of the table presents the test statistic values; the bottom half presents p-values.</p>
          <p>(PDF)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s011" mimetype="video/x-msvideo" xlink:href="info:doi/10.1371/journal.pone.0048865.s011" position="float" xlink:type="simple">
        <label>Video S1</label>
        <caption>
          <p>
            <bold>Sample video from Day 1 of Experiment 1.</bold>
          </p>
          <p>(AVI)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s012" mimetype="video/x-msvideo" xlink:href="info:doi/10.1371/journal.pone.0048865.s012" position="float" xlink:type="simple">
        <label>Video S2</label>
        <caption>
          <p>
            <bold>Sample video from Day 2 of Experiment 1, of the same individuals as Video S1.</bold>
          </p>
          <p>(AVI)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s013" mimetype="video/x-msvideo" xlink:href="info:doi/10.1371/journal.pone.0048865.s013" position="float" xlink:type="simple">
        <label>Video S3</label>
        <caption>
          <p>
            <bold>Sample video from Day 3 of Experiment 1, of the same individuals as Video S1.</bold>
          </p>
          <p>(AVI)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s014" mimetype="video/x-msvideo" xlink:href="info:doi/10.1371/journal.pone.0048865.s014" position="float" xlink:type="simple">
        <label>Video S4</label>
        <caption>
          <p>
            <bold>Sample video from Day 4 of Experiment 1, of the same individuals as Video S1.</bold>
          </p>
          <p>(AVI)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s015" mimetype="video/x-msvideo" xlink:href="info:doi/10.1371/journal.pone.0048865.s015" position="float" xlink:type="simple">
        <label>Video S5</label>
        <caption>
          <p>
            <bold>Sample video from Day 5 of Experiment 1, of the same individuals as Video S1.</bold>
          </p>
          <p>(AVI)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s016" mimetype="video/x-msvideo" xlink:href="info:doi/10.1371/journal.pone.0048865.s016" position="float" xlink:type="simple">
        <label>Video S6</label>
        <caption>
          <p>
            <bold>Sample video from Experiment 3, of a group of 5 fish.</bold>
          </p>
          <p>(AVI)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s017" mimetype="video/x-msvideo" xlink:href="info:doi/10.1371/journal.pone.0048865.s017" position="float" xlink:type="simple">
        <label>Video S7</label>
        <caption>
          <p>
            <bold>Sample video from Experiment 3, of a group of 10 fish.</bold>
          </p>
          <p>(AVI)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s018" mimetype="video/x-msvideo" xlink:href="info:doi/10.1371/journal.pone.0048865.s018" position="float" xlink:type="simple">
        <label>Video S8</label>
        <caption>
          <p>
            <bold>Sample video from Experiment 3, of a group of 20 fish.</bold>
          </p>
          <p>(AVI)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s019" mimetype="video/x-msvideo" xlink:href="info:doi/10.1371/journal.pone.0048865.s019" position="float" xlink:type="simple">
        <label>Video S9</label>
        <caption>
          <p>
            <bold>Sample video from Experiment 3, of a group of 30 fish.</bold>
          </p>
          <p>(AVI)</p>
        </caption>
      </supplementary-material>
      <supplementary-material id="pone.0048865.s020" mimetype="video/x-msvideo" xlink:href="info:doi/10.1371/journal.pone.0048865.s020" position="float" xlink:type="simple">
        <label>Video S10</label>
        <caption>
          <p>
            <bold>Sample video from Experiment 3, of a group of 50 fish.</bold>
          </p>
          <p>(AVI)</p>
        </caption>
      </supplementary-material>
    </sec>
  </body>
  <back>
    <ack>
      <p>The authors thank Keisha Greene for assistance in running the experiments and Rajesh Krishnannair for assistance with fish care.</p>
    </ack>
    <ref-list>
      <title>References</title>
      <ref id="pone.0048865-Krause1">
        <label>1</label>
        <mixed-citation publication-type="other" xlink:type="simple">Krause J, Ruxton GD (2002) Living in Groups. Oxford: Oxford University Press. 228 p.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Shaw1">
        <label>2</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Shaw</surname><given-names>E</given-names></name> (<year>1978</year>) <article-title>Schooling fishes</article-title>. <source>Am Sci</source> <volume>66</volume>: <fpage>166</fpage>–<lpage>175</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Pitcher1">
        <label>3</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Pitcher</surname><given-names>TJ</given-names></name> (<year>1983</year>) <article-title>Heuristic definitions of fish shoaling behaviour</article-title>. <source>Anim Behav</source> <volume>31</volume>: <fpage>611</fpage>–<lpage>613</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Pitcher2">
        <label>4</label>
        <mixed-citation publication-type="other" xlink:type="simple">Pitcher TJ, Parrish JK (1993) Functions of shoaling behavior in teleosts. In: Pitcher TJ, editor. Behaviour of Teleost Fishes. London: Chapman &amp; Hall. pp. 363–439.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Bode1">
        <label>5</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Bode</surname><given-names>NWF</given-names></name>, <name name-style="western"><surname>Faria</surname><given-names>JJ</given-names></name>, <name name-style="western"><surname>Franks</surname><given-names>DW</given-names></name>, <name name-style="western"><surname>Krause</surname><given-names>J</given-names></name>, <name name-style="western"><surname>Wood</surname><given-names>JA</given-names></name> (<year>2010</year>) <article-title>How perceived threat increases synchronization in collectively moving animal groups</article-title>. <source>Proc R Soc B</source> <volume>277</volume>: <fpage>3065</fpage>–<lpage>3070</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Couzin1">
        <label>6</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Couzin</surname><given-names>ID</given-names></name>, <name name-style="western"><surname>Krause</surname><given-names>J</given-names></name>, <name name-style="western"><surname>Franks</surname><given-names>NR</given-names></name>, <name name-style="western"><surname>Levin</surname><given-names>SA</given-names></name> (<year>2005</year>) <article-title>Effective leadership and decision-making in animal groups on the move</article-title>. <source>Nature</source> <volume>433</volume>: <fpage>513</fpage>–<lpage>516</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Day1">
        <label>7</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Day</surname><given-names>RL</given-names></name>, <name name-style="western"><surname>Macdonald</surname><given-names>T</given-names></name>, <name name-style="western"><surname>Brown</surname><given-names>C</given-names></name>, <name name-style="western"><surname>Laland</surname><given-names>KN</given-names></name>, <name name-style="western"><surname>Reader</surname><given-names>SM</given-names></name> (<year>2001</year>) <article-title>Interactions between shoal size and conformity in guppy social foraging</article-title>. <source>Anim Behav</source> <volume>62</volume>: <fpage>917</fpage>–<lpage>925</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Viczek1">
        <label>8</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Viczek</surname><given-names>T</given-names></name>, <name name-style="western"><surname>Czirok</surname><given-names>A</given-names></name>, <name name-style="western"><surname>Ben-Jacob</surname><given-names>E</given-names></name>, <name name-style="western"><surname>Cohen</surname><given-names>I</given-names></name>, <name name-style="western"><surname>Shochet</surname><given-names>O</given-names></name> (<year>1995</year>) <article-title>Novel type of phase transition in a system of self-driven particles</article-title>. <source>Phys Rev Lett</source> <volume>75</volume>: <fpage>1226</fpage>–<lpage>1229</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Partridge1">
        <label>9</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Partridge</surname><given-names>BL</given-names></name> (<year>1982</year>) <article-title>Rigid definitions of schooling behaviour are inadequate</article-title>. <source>Anim Behav</source> <volume>30</volume>: <fpage>298</fpage>–<lpage>299</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Parrish1">
        <label>10</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Parrish</surname><given-names>JK</given-names></name>, <name name-style="western"><surname>Viscido</surname><given-names>SV</given-names></name>, <name name-style="western"><surname>Grünbaum</surname><given-names>D</given-names></name> (<year>2002</year>) <article-title>Self-organized fish schools: an examination of emergent properties</article-title>. <source>Biol Bull</source> <volume>202</volume>: <fpage>296</fpage>–<lpage>305</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Buhl1">
        <label>11</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Buhl</surname><given-names>J</given-names></name>, <name name-style="western"><surname>Sumpter</surname><given-names>DJT</given-names></name>, <name name-style="western"><surname>Couzin</surname><given-names>ID</given-names></name>, <name name-style="western"><surname>Hale</surname><given-names>JJ</given-names></name>, <name name-style="western"><surname>Despland</surname><given-names>E</given-names></name>, <name name-style="western"><surname>Miller</surname><given-names>ER</given-names></name>, <name name-style="western"><surname>Simpson</surname><given-names>SJ</given-names></name> (<year>2006</year>) <article-title>From disorder to order in marching locusts</article-title>. <source>Science</source> <volume>312</volume>: <fpage>1402</fpage>–<lpage>1406</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Becco1">
        <label>12</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Becco</surname><given-names>Ch</given-names></name>, <name name-style="western"><surname>Vandewalle</surname><given-names>N</given-names></name>, <name name-style="western"><surname>Delcourt</surname><given-names>J</given-names></name>, <name name-style="western"><surname>Poncin</surname><given-names>P</given-names></name> (<year>2006</year>) <article-title>Experimental evidences of a structural and dynamical transition in fish school</article-title>. <source>Phys A</source> <volume>367</volume>: <fpage>487</fpage>–<lpage>493</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Miller1">
        <label>13</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Miller</surname><given-names>N</given-names></name>, <name name-style="western"><surname>Gerlai</surname><given-names>R</given-names></name> (<year>2008</year>) <article-title>Oscillations in shoal cohesion in zebrafish (<italic>Danio rerio</italic>)</article-title>. <source>Behav Brain Res</source> <volume>193</volume>: <fpage>148</fpage>–<lpage>151</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Miller2">
        <label>14</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Miller</surname><given-names>N</given-names></name>, <name name-style="western"><surname>Gerlai</surname><given-names>R</given-names></name> (<year>2007</year>) <article-title>Quantification of shoaling behavior in zebrafish (<italic>Danio rerio</italic>)</article-title>. <source>Behav Brain Res</source> <volume>184</volume>: <fpage>157</fpage>–<lpage>166</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Couzin2">
        <label>15</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Couzin</surname><given-names>ID</given-names></name>, <name name-style="western"><surname>Krause</surname><given-names>J</given-names></name>, <name name-style="western"><surname>James</surname><given-names>R</given-names></name>, <name name-style="western"><surname>Ruxton</surname><given-names>GD</given-names></name>, <name name-style="western"><surname>Franks</surname><given-names>NR</given-names></name> (<year>2002</year>) <article-title>Collective memory and spatial sorting in animal groups</article-title>. <source>J Theor Biol</source> <volume>218</volume>: <fpage>1</fpage>–<lpage>11</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Couzin3">
        <label>16</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Couzin</surname><given-names>ID</given-names></name>, <name name-style="western"><surname>Krause</surname><given-names>J</given-names></name>, <name name-style="western"><surname>Franks</surname><given-names>NR</given-names></name>, <name name-style="western"><surname>Levin</surname><given-names>SA</given-names></name> (<year>2005</year>) <article-title>Effective leadership and decision-making in animal groups on the move</article-title>. <source>Nature</source> <volume>433</volume>: <fpage>513</fpage>–<lpage>516</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Czirok1">
        <label>17</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Czirok</surname><given-names>A</given-names></name>, <name name-style="western"><surname>Vicsek</surname><given-names>T</given-names></name> (<year>2000</year>) <article-title>Collective behavior of interacting self-propelled particles</article-title>. <source>Physica A</source> <volume>281</volume>: <fpage>17</fpage>–<lpage>29</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Viscido1">
        <label>18</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Viscido</surname><given-names>SV</given-names></name>, <name name-style="western"><surname>Parrish</surname><given-names>JK</given-names></name>, <name name-style="western"><surname>Grunbaum</surname><given-names>D</given-names></name> (<year>2004</year>) <article-title>Individual behavior and emergent properties of fish schools: a comparison of observation and theory</article-title>. <source>Mar Ecol Prog Ser</source> <volume>273</volume>: <fpage>239</fpage>–<lpage>249</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Mirabet1">
        <label>19</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Mirabet</surname><given-names>V</given-names></name>, <name name-style="western"><surname>Auger</surname><given-names>P</given-names></name>, <name name-style="western"><surname>Lett</surname><given-names>C</given-names></name> (<year>2007</year>) <article-title>Spatial structures in simulations of animal grouping</article-title>. <source>Ecol Model</source> <volume>201</volume>: <fpage>468</fpage>–<lpage>476</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Lukeman1">
        <label>20</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Lukeman</surname><given-names>R</given-names></name>, <name name-style="western"><surname>Li</surname><given-names>Y-X</given-names></name>, <name name-style="western"><surname>Edelstein-Keshet</surname><given-names>L</given-names></name> (<year>2010</year>) <article-title>Inferring individual rules from collective behavior</article-title>. <source>Proc Natl Acad Sci USA</source> <volume>107</volume>: <fpage>12576</fpage>–<lpage>12580</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Parrish2">
        <label>21</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Parrish</surname><given-names>JK</given-names></name>, <name name-style="western"><surname>Viscido</surname><given-names>SV</given-names></name>, <name name-style="western"><surname>Grunbaum</surname><given-names>D</given-names></name> (<year>2002</year>) <article-title>Self-organized fish schools: an examination of emergent properties</article-title>. <source>Biol Bull</source> <volume>202</volume>: <fpage>296</fpage>–<lpage>305</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Hemelrijk1">
        <label>22</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Hemelrijk</surname><given-names>CK</given-names></name>, <name name-style="western"><surname>Hildenbrandt</surname><given-names>H</given-names></name> (<year>2008</year>) <article-title>Self-organized shape and frontal density of fish schools</article-title>. <source>Ethology</source> <volume>114</volume>: <fpage>245</fpage>–<lpage>254</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Miller3">
        <label>23</label>
        <mixed-citation publication-type="other" xlink:type="simple">Miller N, Gerlai R (2012) Automated tracking of zebrafish shoals and the analysis of shoaling behavior. In: Kalueff AV, Stewart AM, editors. Zebrafish Protocols for Neurobehavioral Research. New York: Humana Press. pp. 217–230.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Miller4">
        <label>24</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Miller</surname><given-names>N</given-names></name>, <name name-style="western"><surname>Gerlai</surname><given-names>R</given-names></name> (<year>2011</year>) <article-title>Redefining membership in animal groups</article-title>. <source>Behav Res</source> <volume>43</volume>: <fpage>964</fpage>–<lpage>970</lpage>.</mixed-citation>
      </ref>
      <ref id="pone.0048865-Drai1">
        <label>25</label>
        <mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Drai</surname><given-names>D</given-names></name>, <name name-style="western"><surname>Benjamini</surname><given-names>Y</given-names></name>, <name name-style="western"><surname>Golani</surname><given-names>I</given-names></name> (<year>2000</year>) <article-title>Statistical discrimination of natural modes of motion in rat exploratory behavior</article-title>. <source>J Neurosci Meth</source> <volume>96</volume>: <fpage>119</fpage>–<lpage>131</lpage>.</mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>