bin,XCMSnExp-method | R Documentation |
The methods listed on this page are XCMSnExp
methods inherited from its parent, the
OnDiskMSnExp
class from the MSnbase
package, that alter the raw data or are related to data subsetting. Thus
calling any of these methods causes all xcms
pre-processing
results to be removed from the XCMSnExp
object to ensure
its data integrity.
bin
: allows to bin spectra. See
bin
documentation in the MSnbase
package for more
details and examples.
clean
: removes unused 0
intensity data
points. See clean
documentation in the MSnbase
package
for details and examples.
filterAcquisitionNum
: filters the
XCMSnExp
object keeping only spectra with the provided
acquisition numbers. See filterAcquisitionNum
for
details and examples.
The normalize
method performs basic normalization of
spectra intensities. See normalize
documentation
in the MSnbase
package for details and examples.
The pickPeaks
method performs peak picking. See
pickPeaks
documentation for details and examples.
The removePeaks
method removes mass peaks (intensities)
lower than a threshold. Note that these peaks refer to mass
peaks, which are different to the chromatographic peaks detected and
analyzed in a metabolomics experiment! See
removePeaks
documentation for details and
examples.
The smooth
method smooths spectra. See
smooth
documentation in MSnbase
for details and
examples.
## S4 method for signature 'XCMSnExp'
bin(x, binSize = 1L, msLevel.)
## S4 method for signature 'XCMSnExp'
clean(object, all = FALSE, verbose = FALSE, msLevel.)
## S4 method for signature 'XCMSnExp'
filterAcquisitionNum(object, n, file)
## S4 method for signature 'XCMSnExp'
normalize(object, method = c("max", "sum"), ...)
## S4 method for signature 'XCMSnExp'
pickPeaks(
object,
halfWindowSize = 3L,
method = c("MAD", "SuperSmoother"),
SNR = 0L,
...
)
## S4 method for signature 'XCMSnExp'
removePeaks(object, t = "min", verbose = FALSE, msLevel.)
## S4 method for signature 'XCMSnExp'
smooth(
x,
method = c("SavitzkyGolay", "MovingAverage"),
halfWindowSize = 2L,
verbose = FALSE,
...
)
x |
|
binSize |
|
msLevel. |
For |
object |
|
all |
For |
verbose |
|
n |
For |
file |
For |
method |
For |
... |
Optional additional arguments. |
halfWindowSize |
For |
SNR |
For |
t |
For |
For all methods: a XCMSnExp
object.
Johannes Rainer
XCMSnExp-filter
for methods to filter and subset
XCMSnExp
objects.
XCMSnExp
for base class documentation.
OnDiskMSnExp
for the documentation of the
parent class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.