load_lab_batch: Load and Process LAB Batch Data

View source: R/lab_qc.R

load_lab_batchR Documentation

Load and Process LAB Batch Data

Description

This function loads LAB batch data from the specified input directory. It performs quality checks on the data and loads specific files related to LAB data, including metadata for analytes 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_lab_batch(input_results_folder, verbose = TRUE)

Arguments

input_results_folder

A string representing the path to the folder containing LAB 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 analytes (m_a), metadata of samples (m_s), and LAB 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_lab_batch(input_results_folder = "/path/to/PROCESSED_YYYYMMDD/")

## End(Not run)

MoTrPAC/MotrpacBicQC documentation built on April 11, 2025, 7:51 p.m.