Skip to contents

`add_plate_run()` adds metadata about a plate run to the plate_run table in the database.

Usage

add_plate_run(
  con,
  protocol_id,
  genetic_method_id,
  laboratory_id,
  lab_work_performed_by,
  description,
  date_run
)

Arguments

con

valid connection to the database

protocol_id

protocol identifier

genetic_method_id

genetic method identifier

laboratory_id

laboratory identifier

lab_work_performed_by

name of staff who performed the plate run

description

a description for the plate run

date_run

date of plate run

Value

the unique plate run identifier assigned by the database. This value needs to be retained in the workflow so it can be passed as an argument to functions `process_well_sample_details()` and `generate_threshold()`.