You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vignettes/tbbi.Rmd
+76Lines changed: 76 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -123,6 +123,82 @@ The matrix can also be produced as a [plotly](https://plotly.com/r/) interactive
123
123
show_tbbimatrix(tbbiscr, plotly = T)
124
124
```
125
125
126
+
## AZTI Marine Biotic Index (AMBI)
127
+
128
+
### Background
129
+
130
+
The AZTI Marine Biotic Index (AMBI) is a measure of benthic community health based on the pollution sensitivity of the organisms found at a sampling station. Benthic macroinvertebrates are assigned to one of five ecological groups ranging from Group I (most sensitive, typical of clean conditions) to Group V (most tolerant, typical of heavily disturbed conditions) based on established taxonomic lists [@Gillett15]. A Biotic Coefficient (BC) is then calculated as a weighted sum of the proportion of taxa records in each group:
Lower BC values indicate undisturbed conditions dominated by sensitive species, while higher values (approaching 7) indicate heavily stressed communities. Azoic stations (empty samples with no organisms) receive a BC of 7. An adjusted score on a 0 to 10 scale is also computed as $(7 - BC) \times 10/7$, where higher values indicate healthier conditions.
135
+
136
+
Pollution categories are assigned based on the adjusted score: Unpolluted (above 8.29), Slightly Polluted (5.29 to 8.29), Meanly Polluted (2.89 to 5.29), Heavily Polluted (1.39 to 2.89), and Extremely Polluted (below 1.39). Azoic stations are assigned an adjusted score of zero and treated as Extremely Polluted.
137
+
138
+
The tbeptools package supports two AMBI variants calculated from the same `benthicdata` object used for the TBBI. The standard variant uses Gulf of Mexico ecological group assignments from @Gillett15, while the Tampa Bay-specific variant (AMBI-TB) uses group assignments tailored to the local benthic community [@tbep1325]. Both variants use the same scoring formula, where only the taxon-to-group mapping differs.
139
+
140
+
### Calculating AMBI scores
141
+
142
+
AMBI scores by site are calculated using `anlz_ambiscr()`. The `type` argument selects the variant, defaulting to the standard GOM assignments.
143
+
144
+
```{r}
145
+
ambiscr <- anlz_ambiscr(benthicdata)
146
+
ambiscr
147
+
```
148
+
149
+
The Tampa Bay-specific variant is selected with `type = 'AMBI-TB'`.
150
+
151
+
```{r}
152
+
ambiscr_tb <- anlz_ambiscr(benthicdata, type = 'AMBI-TB')
153
+
ambiscr_tb
154
+
```
155
+
156
+
Both outputs include the Biotic Coefficient (`BC`), the adjusted AMBI score (`AMBI` or `TBAMBI`), the pollution category (`AMBICat` or `TBAMBICat`), and ancillary descriptors (`SitePollutionClassification`, `BioticIndex`, `DominatingEcologicalGroup`, `BenthicCommunityHealth`).
157
+
158
+
### Plotting results
159
+
160
+
The dominant AMBI pollution category for each bay segment and year can be viewed as a matrix using `show_ambimatrix()`. Internally, the function summarizes the percent of sites in each category per bay segment and year using `anlz_ambimed()`, then identifies the plurality category for display. By default, a rolling five-year window is applied from 2005 onward to smooth inter-annual variability from reduced sampling effort in recent years, similar to the TBBI.
161
+
162
+
```{r, fig.height = 7, fig.width = 7}
163
+
show_ambimatrix(ambiscr)
164
+
```
165
+
166
+
The same matrix is available for the Tampa Bay AMBI.
167
+
168
+
```{r, fig.height = 7, fig.width = 7}
169
+
show_ambimatrix(ambiscr_tb)
170
+
```
171
+
172
+
The matrix can also be produced as a [plotly](https://plotly.com/r/) interactive plot.
173
+
174
+
```{r, fig.height = 7, fig.width = 7}
175
+
show_ambimatrix(ambiscr, plotly = TRUE)
176
+
```
177
+
178
+
Mean annual adjusted AMBI scores can be plotted over time using `show_ambitrend()`. The background shading identifies the pollution category zones. Both AMBI variants can be overlaid on the same plot by providing both scoring objects.
179
+
180
+
```{r, fig.height = 4, fig.width = 8}
181
+
show_ambitrend(ambiscr, ambiscr_tb)
182
+
```
183
+
184
+
The same plot can be produced as an interactive [plotly](https://plotly.com/r/) object.
A summary table of the percent of sites in each AMBI category by bay segment over a selected year range can be produced with `show_ambitab()`. By default, the summaries are calculated for all bay segments.
191
+
192
+
```{r}
193
+
show_ambitab(ambiscr)
194
+
```
195
+
196
+
Summarizing for individual bay segments is also possible by specifying the `bay_segment` argument.
197
+
198
+
```{r}
199
+
show_ambitab(ambiscr, bay_segment = 'HB')
200
+
```
201
+
126
202
## Additional sediment data
127
203
128
204
In addition to biological data, sediment contaminant concentrations are measured at sites within Tampa Bay. These include over 100 different constituents grouped broadly as metals, organics, physical, or other. The concentrations of these constituents can be compared relative to Threshold Effects Levels (TEL) or Potential Effects Levels (PEL), when available, as relative indications of the likelihood that the concentrations will have toxic effects on invertebrates that inhabit the sediments. The functions in tbeptools can be used to retrieve the sediment data and provide an indication of the concentrations relative to the TEL or PEL thresholds.
title={Effect of ecological group classification schemes on performance of the {AMBI} benthic index in {US} coastal waters},
37
+
author={Gillett, David J and Weisberg, Stephen B and Grayson, Todd and Hamilton, Andrew and Hansen, Virgil and Leppo, Erik W and Pelletier, Marguerite C and Borja, Angel and Cadien, Don and Dauer, Daniel and others},
38
+
journal={Ecological Indicators},
39
+
volume={50},
40
+
pages={99--107},
41
+
year={2015},
42
+
publisher={Elsevier},
43
+
doi={10.1016/j.ecolind.2014.11.005}
44
+
}
35
45
@article{Schropp90,
36
46
title={Interpretation of metal concentrations in estuarine sediments of {F}lorida using aluminum as a reference element},
37
47
author={Schropp, Steven J and Graham Lewis, F and Windom, Herbert L and Ryan, Joe D and Calder, Fred D and Burney, Louis C},
0 commit comments