Learn R Programming

ume (version 1.5.2)

.load_peaklist_file: Load a peaklist from file

Description

Internal helper for as_peaklist() that reads a peaklist from a file. Supports common tabular formats, including:

  • CSV (.csv)

  • TSV (.tsv, .txt)

  • RDS (.rds)

Column names are not altered here; normalization happens later in as_peaklist() via .normalize_column_aliases().

Usage

.load_peaklist_file(path)

Value

A data.table containing the raw peaklist data.

Arguments

path

Character string. Path to the file to be read.

See Also

Other peaklist helpers: .as_peaklist_from_numeric(), .filter_peaklist_basic()