MyNixOS website logo
Description

Benthic Biotic Indices Calculation from Composition Data.

Set of functions to calculate Benthic Biotic Indices from composition data, obtained whether from morphotaxonomic inventories or sequencing data. Based on reference ecological weights publicly available for a set of commonly used marine biotic indices, such as AMBI (A Marine Biotic Index, Borja et al., 2000) <doi:10.1016/S0025-326X(00)00061-8> NSI (Norwegian Sensitivity Index) and ISI (Indicator Species Index) (Rygg 2013, <ISBN:978-82-577-6210-0>). It provides the ecological quality status of the samples based on each BBI as well as the normalized Ecological Quality Ratio.

BBI

Set of functions to calculate Benthic Biotic Indices from composition data, obtained whether from morphotaxonomic inventories or sequencing data.

It takes composition data with associated taxonomic assignments as input and output biotic indices values. It also return the ecological quality status for each pair of sample-BBI. These BBI values can be used to calculate the normalized Ecological Quality Ratio (nEQR)

The composition can be derived from morpho-taxonomy or DNA based assignements.

Requirements

To be able to use the BBI package, the following is required:

  1. R or RStudio
  2. vegan package
  3. BBI package (see the installation section below)
  4. Composition data (see below for format)

Installation

The BBI package, in its lastest stable release, is available at: https://cran.r-project.org/web/packages/BBI/index.html It can be installed using the following command within R :

install.packages("BBI")

Alternatively, the developpement versino can be installed by typing these commands in R :

install.packages("devtools")
library(devtools)
install_github("trtcrd/BBI")

An example of composition data adequate for BBI

taxaSample1Sample2Sample3Sample4...
Capitella capitata11204100299...
Paramphinome jeffreysii32201100388...
Nematoda sp.02013010...
Glycera alba147009...
Nemertea indet.17011015...
...............

Usage example

There is two functions: BBI calculates and return for each sample the biotic indices values and their ecological quality status. nEQR calculates and return for each sample the nEQR values and the associated normalized ecological quality status.

library(BBI)
# calculating BBI values and ecological quality status
my_BBI <- BBI(my_composition_data)
# calculating nEQR values and ecological quality status
my_nEQR <- nEQR(my_BBI$BBI)

An example of output from BBI function

> my_BBI$found
[1] "Found match:" "101"          " Not found:"  "31"

> my_BBI$BBI
            AMBI       ISI      NSI      NQI1  Shannon        ITI    Bentix
Sample1 3.178476  9.571429 20.81954 0.5830994 2.093312 15.0084794 2.0249856
Sample2 3.471889  9.571429 19.93133 0.5284062 2.465243 21.4910281 2.4569632
Sample3 3.272532  9.180000 18.35880 0.5415376 2.181589 23.0795610 2.8546545
Sample4 4.777285  9.042857 20.92236 0.4173243 2.562996 23.3007691 2.9201504

> my_BBI$BBIclass
          AMBI        ISI         NSI        NQI1       Shannon
Sample1   "good"      "good"      "good"     "moderate" "moderate"
Sample2   "moderate"  "good"      "moderate" "moderate" "moderate"
Sample3   "good"      "good"      "moderate" "moderate" "moderate"
Sample4   "bad"       "good"      "good"     "bad"      "moderate"

An example of output from nEQR function

> my_nEQR$nEQR
            nAMBI      nISI      nNSI     nNQI1  nShannon      nEQR
Sample1 0.6115737 0.7342886 0.6327817 0.5329992 0.4351477 0.5893582
Sample2 0.5656222 0.7342886 0.5972531 0.4548661 0.5027715 0.5709603
Sample3 0.6026160 0.6995857 0.5343520 0.4736251 0.4511980 0.5522754
Sample4 0.3204526 0.6874270 0.6368945 0.3192493 0.5205447 0.4969136

> my_nEQR$nEQR_class
        nEQR                nEQR_class
Sample1 "0.58935817792461"  "moderate"
Sample2 "0.570960301407608" "moderate"
Sample3 "0.552275367599034" "moderate"
Sample4 "0.496913603640647" "moderate"

Paper and citation

Cordier T., Pawlowski J. BBI: an R package for the computation of Benthic Biotic Indices from composition data. Metabarcoding and Metagenomics 2: e25649, doi: 10.3897/mbmg.2.25649

Version history

version 0.3.0

Updated the BBI reference table

version 0.2.0

Various code cleaning and optimizations, added help pages for package functions

version 0.1.0

First version.

Metadata

Version

0.3.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows