msVisual: Determining What Can Be Visualized

Description Usage Arguments Value See Also Examples

Description

For a specific msSet object x, it determines which processing steps or object elements can be visualized using FUN. This function is mainly used to build the GUI for the msProcess package.

Usage

1
msVisual(x, FUN="plot")

Arguments

x

An object of class msSet.

FUN

a character string specifying the visualization method. The options are "plot" and "image". Default: "plot".

Value

A vector of character string denoting the processing steps or object elements that can be visualized for the msSet object x. Depending on FUN, its elements are the valid options for either the process argument of plot.msSet or the what argument of image.msSet.

See Also

plot.msSet, image.msSet.

Examples

 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 processing steps can be visuazlized using plot for qcset
msVisual(qcset, "plot")

## determine which elements can be visuazlized using image for qcset
msVisual(qcset, "image")

## apply wavelet denoise
denoised <- msDenoise(qcset, FUN="wavelet")

## determine which processing steps can be visuazlized using plot for the denoised spectra
msVisual(denoised, "plot")

## determine which elements can be visuazlized using image for the denoised spectra
msVisual(denoised, "image")

zeehio/msProcess documentation built on May 4, 2019, 10:15 p.m.