eem_read_csv {staRdom} | R Documentation |
Import EEMs from generic csv tables (deprecated)
Description
This function is deprecate, please use eem_read
(..., import_function = eem_csv
) or eem_read(..., import_function = eem_csv2
) instead.
EEM data is loaded from generic files. First column and first row contains wavelength values. The other values are to be plain numbers. fread
is used to read the table. It offers a lot of helpful functions (e.g. skipping any number n of header lines by adding 'skip = n')
Usage
eem_read_csv(
path,
col = "ex",
recursive = TRUE,
is_blank_corrected = FALSE,
is_scatter_corrected = FALSE,
is_ife_corrected = FALSE,
is_raman_normalized = FALSE,
manufacturer = "unknown",
...
)
Arguments
path |
path to file(s), either a filename or a folder |
col |
either "ex" or "em", what wavelengths are in the columns |
recursive |
logical, whether directories are loaded recursively |
is_blank_corrected |
logical, whether blank correction was done |
is_scatter_corrected |
logical, wether scatters were corrected |
is_ife_corrected |
logical, wether inner-filter effect correction was done |
is_raman_normalized |
logical, wether raman normalisation applied |
manufacturer |
string specifying manufacturer of instrument |
... |
parameters from other functions, currently not used |
Examples
eems <- system.file("extdata/EEMs",package="staRdom")
eem_list <- eem_read_csv(eems)
eem_list