This function loads Olink batch data from the specified input directory. It performs quality checks on the data and loads specific files related to Olink data, including metadata for proteins and samples, and the results file. It also integrates validation checks and warns if there are too many issues identified in the data.

load_olink_batch(input_results_folder, verbose = TRUE)

Arguments

input_results_folder

A string representing the path to the folder containing Olink batch data to be loaded and processed.

verbose

Logical; if TRUE, prints detailed messages during the loading process.

Value

A list containing data frames for metadata of proteins (m_p), metadata of samples (m_s), and Olink results (r_o). If certain files are not available, the corresponding entries in the list will be NULL.

Examples

if (FALSE) {
list_of_df <- load_olink_batch(input_results_folder = "/path/to/PROCESSED_YYYYMMDD/")
}