Description Usage Arguments Examples
Applies a named vector of curve matches (ususally the output of assayr2::curve_matcher()) to data to add the relevant curve id columns
1 | apply_curve_matches(data, curve_pairs, plate_id = NULL, prun = NULL)
|
data |
Date being anlyzed, typically from |
curve_pairs |
Named chr vector, with curves analytes as values and matched non-curve analytes as names |
plate_id |
A numeric or character representing the plate_id of the standards. Useful if standards are read on one plate, but used for multiple sample plates. |
prun |
A character representing the plate run of the standards. Useful if standard are read on one read, but used for multiple sample reads. |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# if no special matching is required (all plate reads have dedicated curves)
ph_data %>% apply_curve_pairs(curve_pairs)
# if targets need to be matched to curves on another read on the same plate
ph_data %>% apply_curve_pairs(curve_pairs, prun = "Std_read")
# if targets need to be matched to curves on another plate
ph_data %>% apply_curve_pairs(curve_pairs, plate_id = 2222)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.