concentration_category: Binned concentrations

View source: R/EC_functions.R

concentration_categoryR Documentation

Binned concentrations

Description

This function produces depth binned concentrations for a specified taxa. Similar to bin_cast but calculates concentrations for only one taxa. Used inside vpr_roi_concentration

Usage

concentration_category(data, taxa, binSize, imageVolume, rev = FALSE)

Arguments

data

dataframe produced by processing internal to vpr_roi_concentration

taxa

name of taxa isolated

binSize

passed to bin_calculate, determines size of depth bins over which data is averaged

imageVolume

the volume of VPR images used for calculating concentrations (mm^3)

rev

Logical value defining direction of binning, FALSE - bins will be calculated from surface to bottom, TRUE- bins will be calculated bottom to surface

Details

Image volume calculations can change based on optical setting of VPR as well as autodeck setting used to process images For IML2018051 (S2) image volume was calculated as 108155 mm^3 by seascan (6.6 cubic inches) For COR2019002 S2 image volume was calculated as 83663 mm^3 and S3 image volume was calculated as 366082 mm^3

Author(s)

E. Chisholm


vprr documentation built on July 12, 2022, 5:07 p.m.