parse_oxysoft_legend: Parse channel names from the Oxysoft "Legend" metadata block

View source: R/read_mnirs_helpers.R

parse_oxysoft_legendR Documentation

Parse channel names from the Oxysoft "Legend" metadata block

Description

Legend rows above the numeric header row map column ids to trace names. Returns a channel list of named mappings c(new_name = "original_col") plus alias mapping raw trace names to column ids, or NULL when the legend is missing or malformed.

Usage

parse_oxysoft_legend(raw, header_row)

Arguments

raw

A raw character data frame from read_file().

header_row

Integer row index of the numeric data table header.


mnirs documentation built on Sept. 13, 2026, 1:06 a.m.