load_chroms | R Documentation |
Convenience function to import chromatograms from a list of folders or paths.
load_chroms( paths, find_files = TRUE, format.in = c("csv", "chemstation", "masshunter"), sep = ",", dat = NULL, ... )
paths |
Path(s) to chromatograms or the folders containing the files |
find_files |
Logical. Set to |
format.in |
Format of files. |
sep |
Argument provided to |
dat |
Optional list of chromatograms. If provided, newly imported chromatograms will be appended to the existing list. |
... |
Additional arguments to |
Chromatograms may be CSVs, ChemStation .uv
files, or MassHunter
.sp
files. Parsers from the Aston
package for python are used to load binary files.
A list of chromatograms in matrix format.
Relies on the file parsers from the
Aston package to import ChemStation
.uv
and MassHunter .sp
files.
Ethan Bass
## Not run: ### import from single folder dat <- load_chromes(paths = path) ### import from multiple folders path = 'foo' folders <- list.files(path = path, pattern = "EXPORT3D") dat <- load_chroms(folders) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.