read_peaklist {chromConverter} | R Documentation |
Read peak lists
Description
Reads peak lists from specified folders or vector of paths.
Usage
read_peaklist(
paths,
find_files,
format_in = c("chemstation", "shimadzu_fid", "shimadzu_dad", "shimadzu_lcd",
"shimadzu_gcd"),
pattern = NULL,
data_format = c("chromatographr", "original"),
metadata_format = c("chromconverter", "raw"),
read_metadata = TRUE,
progress_bar,
cl = 1
)
Arguments
paths |
Paths to files or folders containing peak list files. |
find_files |
Logical. Set to |
format_in |
Format of files to be imported/converted. Current options
include: |
pattern |
pattern (e.g. a file extension). Defaults to NULL, in which
case file extension will be deduced from |
data_format |
Either |
metadata_format |
Format to output metadata. Either |
read_metadata |
Logical, whether to attach metadata (if it's available). Defaults to TRUE. |
progress_bar |
Logical. Whether to show progress bar. Defaults to
|
cl |
Argument to |
Value
A list of chromatograms in matrix
or data.frame
format,
according to the value of format_out
.
Author(s)
Ethan Bass
Examples
path <- "tests/testthat/testdata/dad1.uv"
chr <- read_chroms(path, find_files = FALSE, format_in = "chemstation_uv")