Description Usage Arguments Value Examples
This function compute oxygen consumption from Harvard Spirometer tracing. Simply define 2 points along oxygen line, and provide displacement in x-and y-direction. Oxygen consumption can be reported in units: L/hr or ml/min, and at condition: ATPS or STPD.
1 2 3 4 5 6 7 8 9 |
x |
Displacement of tracing in x-direction (in millimeter). |
y |
Displacement of tracing in y-direction (in millimeter). |
paper_speed |
Paper speed of the kymograph (in millimeter/minute), 25 mm/min by default. |
unit |
(Character) Unit of the oxygen consumption to return, e.g. L/hr (default). |
condition |
(Character) Environmental condition to calculate oxygen consumption that affect gas volume, must be one of:
|
baro |
(If |
temp_c |
(If |
Print information to console and return oxygen consumption as numeric vector, invisibly.
1 2 3 4 5 6 | # Oxygen Consumption at ATPS in L/hr
get_oxycons(x = 100, y = 50)
# Oxygen Consumption at ATPS in ml/min
get_oxycons(x = 100, y = 50, unit = "ml/min")
# Oxygen Consumption at STPD, in L/hr, must provide `baro` and `temp_c`
get_oxycons(x = 100, y = 50, condition = "STPD", baro = 760, temp_c = 23)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.