calc_metab: Runs LoLinR over whole SDR arrays and runs

Description Usage Arguments Value Examples

View source: R/calc_metab.R

Description

calc_metab takes the LoLinR method of estimating the best fitting change in oxygen consumption but applies this to a nested dataframe of many SDR plate runs. Time is converted from min to hours automatically.

Usage

1
calc_metab(nested_df, metab_method = "pc", alpha_value = 0.25)

Arguments

nested_df

The nested df imported using import_metab(). Time must still be in minutes (e.g. Time_min)

metab_method

A string. Either "pc" or "eq". "pc"" is the suggested method by Colin for oxygen consumption data. It is the default.

alpha_value

Default at 0.25.

Value

A nested tibble with the model, summary and slopes (per hour change) as list columns.

Examples

1
test_data_merged <- calc_metab(test_data_merged)

daflealab/genlabfunc documentation built on March 19, 2018, 10:13 a.m.