
Convert arbitrary optical density units to calibrated units
Source:R/calibrate_od.R
calibrate_od.Rd
Used by process_plate
function for optical density calibration. Function
adds calibrated_OD column to the data, which is returned. Originally based on
flopr::calibrate_od
, except instr
argument added to allow selection of
conversion factor from table that may include multiple instruments, and
includes error checks that report to the user if conversion factors are
missing.
Arguments
- pr_data
a dataframe of parsed plate reader data
- od_name
the column name for the optical density data
- instr
character string to represent instrument. If do_calibrate = TRUE, used for filtering
od_coeffs_csv
andfluor_coeffs_csv
files for conversion factors of the relevant instrument.- conversion_factors_csv
path of the CSV file containing conversion factors for optical density