load_olink_batch: Load and Process Olink Batch Data

View source: R/olink_qc.R

load_olink_batchR Documentation

Description

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.

Usage

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

## Not run: 
list_of_df <- load_olink_batch(input_results_folder = "/path/to/PROCESSED_YYYYMMDD/")

## End(Not run)

MoTrPAC/MotrpacBicQC documentation built on Sept. 26, 2024, 11:10 a.m.