Description Usage Arguments Value Examples
Multiply EEMs with spectral correction vectors (Emission and Excitation)
1 | eem_spectral_cor(eem_list, Excor, Emcor)
|
eem_list |
eemlist |
Excor |
data frame, first column wavelengths, second column excitation correction |
Emcor |
data frame, first column wavelengths, second column emission correction |
eemlist
1 2 3 4 5 6 7 8 9 10 11 12 | eems <- system.file("extdata/EEMs",package="staRdom")
eem_list <- eem_read_csv(eems)
excorfile <- system.file("extdata/CorrectionFiles/xc06se06n.csv",package="staRdom")
Excor <- data.table::fread(excorfile)
emcorfile <- system.file("extdata/CorrectionFiles/mcorrs_4nm.csv",package="staRdom")
Emcor <- data.table::fread(emcorfile)
# adjust range of EEMs to cover correction vectors
eem_list <- eem_range(eem_list,ex = range(Excor[,1]), em = range(Emcor[,1]))
eem_list_sc <- eem_spectral_cor(eem_list,Excor,Emcor)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.