Skip to contents

Determine Run identifcation after Spring and Winter Assays

Usage

ots_winter_spring_detection(
  con,
  sample_id,
  results_table,
  selection_strategy = c("positive priority", "recent priority")
)

Arguments

con

a database connection

sample_id

the sample id to perform run identification on

strategy

the strategy to use when multi same assays are found for a sample see "details" for more

Details

The system allows users to submit as manu assays per sample as desired, however at the end in order to assign a genetic run type to a sample a single early, late, spring, and winter assay must be used. The selection strategy gives the function a way to select when it finds multiple assays for a sample.

  • "positive priority" - will choose the the postitive results from the available assays needed

  • "recent prioritt" - will choose the most recent assays from the available assays needed.