# Aggregation & transforms (Morlaix macrofauna)

Chapter 10 of CiMC gives several examples of aggregating species matrices to higher taxa – using the **Tools>Aggregate** routine – and the effect this has on the resulting multivariate (and univariate) analyses. We shall illustrate this with the benthic macrofauna data from the sediments of the Bay of Morlaix, sampled at 21 times over April 1977 to February 1982, covering the period of the Amoco-Cadiz oil tanker wreck in March 1978. This was last seen in Section [10](https://learninghub.primer-e.com/books/primer-v7-user-manual-tutorial/chapter/10-wizards-and-species-analyses-basic-mva-coherence-plots-matrix-display-simper) and introduced in Section [8](https://learninghub.primer-e.com/books/primer-v7-user-manual-tutorial/chapter/8-multi-dimensional-scaling-non-metric-nmds-metric-mmds-combined-mds) where the species-level *n*MDS (and *tm*MDS) showed the strong community change following the oil-spill and the subsequent partial recovery, with the re-establishment of a clear seasonal cycle. Open that workspace, <ins>Morlaix ws</ins> in C:\Examples v7\Morlaix macrofauna, or if unavailable, open the species data matrix <ins>Morlaix macrofauna abundance</ins> and the variable information (aggregation) file <ins>Morlaix macrofauna taxonomy</ins>. Calculate a couple of aggregation and transformation options, computing Bray-Curtis similarities and running *n*MDS, e.g. contrast plots for species-level, square-root transformed and family-level log transformed data (similarities <ins>sp-sqr</ins> and <ins>fm-log</ins>). The latter requires, on the active sheet <ins>Morlaix macrofauna abundance</ins>, **Tools>Aggregate**>(Variable information worksheet: <ins>Morlaix macrofauna taxonomy</ins>) & (From level: <ins>species</ins>) & (To level: <ins>family</ins>), followed by **Pre-treatment>Transform(overall)**>(Transformation: <ins>Log(X+1)</ins>) and resemblance etc. as usual. On the resulting *n*MDS plot, take **Graph>Samp. Labels & Symbols** to remove labels and the (✓By factor) on symbols, and **Special>Overlays**>(✓Overlay trajectory: <ins>time</ins>). A similar pattern is seen to that for the species-level root-transformed case but showing an apparently greater degree of recovery. One possible explanation for this is seen in the line plots (*coherent curves*) of Section [10](https://learninghub.primer-e.com/books/primer-v7-user-manual-tutorial/chapter/10-wizards-and-species-analyses-basic-mva-coherence-plots-matrix-display-simper) – the effect of the highly abundant Ampelisca species prior to the spill, whose numbers crash and do not recover well, is more heavily down-weighted with the severe log transformation.