process_plate {PvSTATEM} | R Documentation |
Process a plate and save computed dilutions to a CSV
Description
The behavior can be summarized as follows:
Adjust blanks if not already done.
Fit a model to each analyte using standard curve samples.
Compute dilutions for each analyte using the corresponding model.
Aggregate computed dilutions into a single data frame.
Save the computed dilutions to a CSV file.
Usage
process_plate(
plate,
output_path = NULL,
data_type = "Median",
adjust_blanks = FALSE,
verbose = TRUE,
...
)
Arguments
plate |
( |
output_path |
( |
data_type |
( |
adjust_blanks |
( |
verbose |
( |
... |
Additional arguments to be passed to the fit model function ( |
Examples
plate_file <- system.file("extdata", "CovidOISExPONTENT.csv", package = "PvSTATEM")
layout_file <- system.file("extdata", "CovidOISExPONTENT_layout.csv", package = "PvSTATEM")
plate <- read_luminex_data(plate_file, layout_file)
tmp_dir <- tempdir(check = TRUE)
temporary_filepath <- file.path(tmp_dir, "output.csv")
process_plate(plate, output_path = temporary_filepath)
# create and save dataframe with computed dilutions