calibrate_flu: Convert arbitrary fluorescence units to calibrated units

View source: R/calibrate_flu.R

calibrate_fluR Documentation

Convert arbitrary fluorescence units to calibrated units

Description

Used by process_plate function for fluorescence calibration. Function adds calibrated fluorescence column to the data, which is returned. Originally based on flopr::calibrate_flu, but with multiple changes. A list of arguments have been added to allow selection of required conversion factor from table that may include conversion factors from multiple instruments, FPs, etc., and function now includes error checks that report to the user if conversion factors are missing.

Usage

calibrate_flu(
  pr_data,
  flu_instr,
  flu_channel,
  flu_gain,
  flu_slug,
  flu_label,
  do_quench_correction = do_quench_correction,
  conversion_factors_csv
)

Arguments

pr_data

a data.frame of parsed plate reader data

flu_instr

instrument name

flu_channel

fluorescent channel name

flu_gain

gain

flu_slug

name of fluorescent protein in FPbase slug format

conversion_factors_csv

path of the CSV file containing predicted conversion factors for the fluorescent channels

Value

an updated data.frame with an additional column for calibrated fluorescence


ec363/fpcountr documentation built on Nov. 29, 2024, 12:03 p.m.