Create and plot multiple qPCR calibration plots.
calib_plot_all(calib_df, ...)
calib_df | A |
---|---|
... | Further arguments to be passed to the |
A list
of ggplot2
objects.
The data
object contains data for at least one qPCR calibration curve
usually presented as Cq (Ct) value and corresponding copy number from from a series of serial dilutions.
The data.frame
must contain the headers Target
, Cq
and SQ
. The Target
column must contain unique identifiers for each calibration curve. The Cq
column contains the
Cq (Ct) values and SQ
contains the copy number data. Additional columns will be ignored.
Non-detections in data
should be represented as NA
.
LOD and LOQ values must be supplied as a data.frame
or tibble
object.
if (FALSE) { require(tibble) # basic plots calib_plot_all(calib_data) # lod and loq as tibble lod_data <- tibble(Target = c("706", "10720201", "90720202" ), lod = c(1.5, 4, 10), loq = c(4.3, 10, 20)) calib_plot_all(calib_data, lod = lod_data) # Robust model fit calib_plot_all(calib_data, lod = lod_data, robust = TRUE) }