This function retrieves calibration curve regression results from a MidarExperiment
object.
It returns a summary of quality control (QC) metrics for specified QC samples.
including bias, percentage bias, and intra-assay coefficient of variation (CV).
The standard deviation of bias and percentage bias are also included unless the
it is NA
for all analytes, i.e. when no replicates were measured.
Usage
get_qc_bias_variability(
data,
qc_types = NA,
wide_format = "none",
include_qualifier = FALSE,
with_conc = TRUE,
with_bias = TRUE,
with_bias_perc = TRUE,
with_cv_intra = TRUE
)
Arguments
- data
A
MidarExperiment
object containing the dataset and necessary annotations for calibration analysis.- qc_types
A character vector specifying the QC types to include in the results, in addition to
CAL
. If not specified, all applicable QC types are included by default.- wide_format
Format of the output table. Must be one of
"none"
,"features"
, or"samples"
. If"none"
, the output is in long format. If"features"
, the output is in wide format with features as columns. If"samples"
, the output is in wide format with samples as columns.- include_qualifier
Logical. If
TRUE
, includes qualifier features in the results. Defaults toFALSE
.- with_conc
Logical. If
TRUE
, includes target and measured mean concentrations in the results. Defaults toTRUE
.- with_bias
Logical. If
TRUE
, includes bias in concentration units in the results. Defaults toTRUE
.- with_bias_perc
Logical. If
TRUE
, includes percentage bias in the results. Defaults toTRUE
.- with_cv_intra
Logical. If
TRUE
, includes intra-assay coefficient of variation (CV) for the in the results. Defaults toTRUE
.