Description Methods Author(s) See Also Examples
This method aggregates individual spectra (Spectrum
instances)
or whole experiments (MSnExp
instances) into discrete bins. All
intensity values which belong to the same bin are summed together.
signature(object = "MSnExp", binSize = "numeric", verbose =
"logical")
Bins all spectra in an MSnExp
object. Use binSize
to control the size of a bin
(in Dalton, default is 1
).
Displays a control bar if verbose set to TRUE
(default). Returns a binned MSnExp
instance.
signature(object = "Spectrum", binSize = "numeric",
breaks = "numeric", msLevel. = "numeric")
Bin the
Spectrum
object. Use binSize
to control the size
of a bin (in Dalton, default is 1
). Similar to
hist
you could use breaks
to
specify the breakpoints between m/z bins. msLevel.
defines the level of the spectrum, and if msLevel(object)
!= msLevel.
, cleaning is ignored. Only relevant when called
from OnDiskMSnExp
and is only relevant for developers.
Returns a binned Spectrum
instance.
Sebastian Gibb <mail@sebastiangibb.de>
clean
, pickPeaks
, smooth
,
removePeaks
and trimMz
for other spectra processing methods.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.