Validate Curve Batch Annotation
Usage
validate_curve_batch_annot(curve_batch_annot, needed_column = c("Sample_Name"))
Arguments
- curve_batch_annot
A data frame or tibble that contains information of your curve batch. A column with sample name should be present.
- needed_column
A vector consisting of needed column names that must be found in
curve_batch_annot
, Default: c("Sample_Name")
Examples
concentration <- c(
10, 20, 40, 60, 80, 100,
10, 20, 40, 60, 80, 100
)
curve_batch_name <- c(
"B1", "B1", "B1", "B1", "B1", "B1",
"B2", "B2", "B2", "B2", "B2", "B2"
)
sample_name <- c(
"Sample_010a", "Sample_020a", "Sample_040a",
"Sample_060a", "Sample_080a", "Sample_100a",
"Sample_010b", "Sample_020b", "Sample_040b",
"Sample_060b", "Sample_080b", "Sample_100b"
)
curve_batch_annot <- tibble::tibble(
Sample_Name = sample_name,
Curve_Batch_Name = curve_batch_name,
Concentration = concentration
)
validate_curve_batch_annot(
curve_batch_annot = curve_batch_annot,
needed_column = c("Sample_Name")
)