eem_setNA: set parts of specific samples to NA and optionally...

Description Usage Arguments Details Value Examples

Description

set parts of specific samples to NA and optionally interpolate these parts

Usage

1
2
eem_setNA(eem_list, sample = NULL, em = NULL, ex = NULL,
  interpolate = TRUE, ...)

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.

Value

eemlist

Examples

1
2
3
4
5
6
7
8
data(eem_list)
eem <- eem_list[1:9]
class(eem) <- "eemlist"

ggeem(eem)

eem_list2 <- eem_setNA(eem,ex=200:280,em=500:600, interpolate=FALSE)
ggeem(eem_list2)

jakehosen/stardom_aqualog documentation built on May 14, 2019, 3:06 a.m.