Learn R Programming

oXim (version 1.0.1)

getOxyrange: Takes a matrix of echogram and calculate Oxycline.

Description

This function takes a filter configuration and applies to echograms given on an echoData object.

Usage

getOxyrange(fluidMatrix, filterSettings = NULL, stepBYstep = FALSE)

Arguments

fluidMatrix
Object of class echoData (from readEchograms function) with echogram
filterSettings
List with combination of filters.
stepBYstep
logical. If FALSE (default), returns just original and final echogram, otherwise each echogram (after applying filters one by one) will be returned.

Details

If filterSettings = NULL, oXim will use filter configuration present on defaultFilterSettings data set. For extra details about image filters, see createFilterSetting help.

Examples

Run this code
## Not run: 
# fileMode <- list(fish38_file   = system.file("extdata", "fish38.mat", package = "oXim"),
#                  fluid120_file = system.file("extdata", "fluid120.mat", package = "oXim"),
#                  blue38_file   = system.file("extdata", "blue38.mat", package = "oXim"))
# echoData <- readEchograms(fileMode = fileMode)
# oxyLimits <- getOxyrange(fluidMatrix = echoData)
# ## End(Not run)

Run the code above in your browser using DataLab