Skip to contents

`generate_threshold()` calculates the raw fluorescence threshold values for an assay.

Usage

generate_threshold(
  con,
  plate_run,
  results_table,
  strategy = "twice average",
  .control_id = "EBK"
)

Arguments

con

valid connection to the database

plate_run

plate run object obtained from either `add_plate_run` or `get_plate_run`

strategy

the strategy to use for computing thresholds

.control_id

the identifier within the plate run to use as control for calculating thresholds, defaults to "NTC"

Value

a table containing thresholds for an event, to be passed to `update_assay_detections()`

Details

For each assay on a plate run, the threshold value is calculated as two times the mean value of the last time step from the control blank wells. Each assay on a plate will have its own control blanks and threshold value.