View source: R/make_spectrum_peakpick.R
make_spectrum_peakpick
1 2 3 4 5 6 7 8 9 10 | make_spectrum_peakpick(
MSspectrum = NULL,
mz = NULL,
intensity = NULL,
SNR = 10,
method = "MAD",
refineMz = "kNeighbors",
k = 2,
binSize = 0.05
)
|
MSspectrum |
An MSnbase Spectrum1 object. |
mz |
A numeric vector containing m/z values for a spectrum. |
intensity |
A numeric vector containing intensity values for a spectrum. |
SNR |
Signal-to-noise cutoff to use for peak picking. See ?MSnbase::pickPeaks. |
method |
Method to use for peak picking. See ?MSnbase::pickPeaks. |
refineMz |
Method for m/z refinement for peak picking. See ?MSnbase::pickPeaks. |
k |
Number of neighboring signals to use for m/z refinement if refineMz = "kNeighbors". See ?MSnbase::pickPeaks. |
binSize |
Bin size to use for peak binning prior to comparing spectra. See ?MSnbase::bin. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.