Description Usage Arguments Value See Also Examples
For a specific msSet
object x
, it determines
which methods are applicable for the processing step process
.
This function is mainly used to build the GUI for the msProcess package.
1 | msLogic(x, process="msDenoise")
|
x |
An object of class |
process |
a character string specifying the process to be applied.
The options are |
A vector of character string denoting the methods of process
that are
applicable to the msSet
object x
, which are the valid options for
the FUN
argument of process
.
NULL
is returned if none is applicable.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | if (!exists("qcset")) data("qcset", package="msProcess")
## determine which methods of msDenoise are applicable to qcset
msLogic(qcset, "msDenoise")
## determine which methods of msNoise are applicable to qcset
msLogic(qcset, "msNoise")
## apply wavelet denoise
denoised <- msDenoise(qcset, FUN="wavelet")
## determine which methods of msNoise are applicable to the denoised spectra
msLogic(denoised, "msNoise")
## determine which methods of msPeak are applicable to the denoised spectra
msLogic(denoised, "msPeak")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.