msObjects: Finding msSet Object Names

Description Usage Arguments Value See Also Examples

Description

Returns a vector of character strings (possibly of zero length) which are the names of the msSet objects in the working database to which process can be applied. This function is mainly used to build the GUI for the msProcess package.

Usage

1
msObjects(process="msDenoise")

Arguments

process

a character string specifying the process to be applied. The options are "msDenoise", "msNoise", "msDetrend", "msNormalize", "msPeak", "msAlign", and "msQuantify". Default: "msDenoise".

Value

a character vector of names of the msSet objects in the working database to which process can be applied or character(0) if none applicable.

See Also

msSet.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
if (!exists("qcset")) data("qcset", package="msProcess")

## find the names of msSet objects to which msDenoise can be applied
msObjects("msDenoise")

## find the names of msSet objects to which msDenoise can be applied
my.qcset <- qcset
msObjects("msDenoise")

## apply denoise, peak detection, and alignment
denoised <- msDenoise(qcset)
detected <- msPeak(denoised)
aligned <- msPeak(detected)

## find the names of msSet objects to which msAlign can be applied
msObjects("msAlign")

## find the names of msSet objects to which msQuantify can be applied
msObjects("msQuantify")

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