eem_setNA: set parts of specific samples to NA and optionally interpolate these parts
Description
set parts of specific samples to NA and optionally interpolate these parts
Usage
eem_setNA(
eem_list,
sample = NULL,
em = NULL,
ex = NULL,
interpolate = TRUE,
...
)
Value
eemlist
Arguments
eem_list
EEMs as eemlist
sample
optional, names or indices of samples to process
em
optional, emission wavelengths to set NA
ex
optional, excitation wavelengths to set NA
interpolate
FALSE, 1 or 2, interpolate NAs or not, 2 different methods, see eem_interp
...
arguments passed on to eem_interp
Details
Samples and wavelengths are optional and if not set all of them are considered in setting data to NA. Wavelengths can be set as vectors containing more than the wavelengths present in the data. E.g. 230:250 removes all wavelengths between 230 and 250 if present. Data is best interpolated if it does not reach data boundaries. Please check the results otherwise as in some cases the interpolation might not produce meaningful data.