correct.meas | R Documentation |
The function is used to correct metabolic rate measurements for background respiration. To this end, oxygen consumption is estimated as the slope of the linear regression of measured O_{2} concentration over time, and is extracted for background respiration test and for each measurement phase. The correction is based on subtraction of oxygen consumption obtained during background respiration test from oxygen consumption obtained during metabolic rate measurements.
correct.meas(info.data, pre.data, post.data, meas.data, method = c("pre.test", "post.test", "average", "linear", "exponential", "parallel"), empty.chamber = c("CH1", "CH2", "CH3", "CH4", "CH5", "CH6", "CH7", "CH8"))
info.data |
a data frame obtained by using the function |
pre.data |
a data frame obtained by using the function |
post.data |
a data frame obtained by using the function |
meas.data |
a data frame obtained by using the function |
method |
string: the name of the method used for background respiration correction:
|
empty.chamber |
string: the name of an empty chamber used only for the method 'parallel' |
The function returns a data frame containing data of metabolic rate measurements corrected for background respiration. The data frame is used in the functions QC.meas
, QC.activity
,
extract.slope
and QC.slope
.
Svendsen, M. B. S., Bushnell, P. G., & Steffensen, J. F. (2016). Design and setup of intermittent-flow respirometry system for aquatic organisms. Journal of Fish Biology, 88(1), 26-50.
# if the data have been already loaded to R, # skip the first five lines of the code: data(info) data(pre) data(post) data(AMR.raw) ## Not run: data(SMR.raw) SMR.clean <- correct.meas(info.data = info, pre.data = pre, meas.data = SMR.raw, method = "pre.test") ## End(Not run) AMR.clean <- correct.meas(info.data = info, post.data = post, meas.data = AMR.raw, method = "post.test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.