View source: R/read_peaklist.R
read_peaklist | R Documentation |
Reads peak lists from specified folders or vector of paths.
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
)
paths |
paths to files or folders containing 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 |
A list of chromatograms in matrix
or data.frame
format,
according to the value of format_out
.
Ethan Bass
path <- "tests/testthat/testdata/dad1.uv"
chr <- read_chroms(path, find_files = FALSE, format_in = "chemstation_uv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.