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

concentration_category(
  data,
  category,
  binSize,
  imageVolume,
  rev = FALSE,
  breaks = NULL,
  cutoff = 0.1
)

Arguments

data

dataframe produced by processing internal to vpr_roi_concentration

category

name of category 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

breaks

Argument passed to ctdFindProfiles

cutoff

Argument passed to ctdFindProfiles

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

E. Chisholm