eem_exclude: Exclude complete wavelengths or samples form data set

View source: R/correction_functions.R

eem_excludeR Documentation

Exclude complete wavelengths or samples form data set

Description

Outliers in all modes should be avoided. With this functions excitation or emission wavelengths as well as samples can be removed completely from your sample set.

Usage

eem_exclude(eem_list, exclude = list, verbose = FALSE)

Arguments

eem_list

object of class eemlist

exclude

list of three vectors, see details

verbose

states whether additional information is given in the command line

Details

The argument exclude is a named list of three vectors. The names must be "ex", "em" and "sample". Each element contains a vector of wavelengths or sample names that are to be excluded from the data set.

Value

object of class eemlist

Examples

data(eem_list)

exclude <- list("ex" = c(280,285,290,295),
"em" = c(),
"sample" = c("667sf", "494sf")
)

eem_list_ex <- eem_exclude(eem_list, exclude)

staRdom documentation built on July 9, 2023, 5:57 p.m.