Checks that values from the results file are available in both the metadata analyte/protein and metadata sample files.
check_crossfile_validation(
r_o,
m_s,
m_p,
assay_type = c("olink", "lab"),
return_n_issues = FALSE,
verbose = TRUE
)
(data.frame) Results data frame.
(data.frame) Metadata sample data frame.
(data.frame) Metadata analyte/protein data frame.
(character) The type of assay, either "olink"
or "lab"
.
(logical) If TRUE
, returns the number of issues.
(logical) If TRUE
(default), displays messages during the checking process.
(int) Number of issues identified if return_n_issues
is TRUE
.
{
if (FALSE) { # \dontrun{
# For Olink data
check_crossfile_validation(r_o = results_olink,
m_s = metadata_samples_olink,
m_p = metadata_proteins_olink,
assay_type = "olink")
# For LAB data
check_crossfile_validation(r_o = results_lab,
m_s = metadata_samples_lab,
m_p = metadata_analyte_lab,
assay_type = "lab")
} # }
}