attach_check_log: Convert output format, run check_npx, and attach the result...

View source: R/olink_class.R

attach_check_logR Documentation

Convert output format, run check_npx, and attach the result to an Olink data object

Description

Convenience helper that first converts data to the requested output format (via convert_read_npx_output()), then calls check_npx() and attaches the resulting check log to the object. For tibbles the result is an olink_class object (via new_olink_class()); for ArrowObjects the check log is stored as schema metadata (via attach_check_log_arrow()). Any other type is returned unchanged.

Usage

attach_check_log(df, out_df = "tibble", preferred_names = NULL)

Arguments

df

A tibble or ArrowObject containing Olink NPX data.

out_df

A string specifying the desired output format. Forwarded to convert_read_npx_output(). Defaults to "tibble".

preferred_names

An optional named character vector forwarded to check_npx().

Value

df converted to out_df format with the check log attached.


OlinkAnalyze documentation built on Sept. 18, 2026, 5:06 p.m.