normalize | R Documentation |
Normalize spectra and peaks
normalize(spec, peaks, normMeth, normMz, normTol)
spec |
List of MALDIquant::MassSpectrum |
peaks |
List of MALDIquant::MassPeaks |
normMeth |
Character, normalization method. Options are "TIC", "median" and "mz". |
normMz |
Numeric, mz used to normalize. |
normTol |
Numeric, tolerance around normMz. |
List of lists of normalized MALDIquant::MassSpectrum, normalized MALDIquant::MassPeaks,
normalization factors as well as indicies of spectra containing the normMz
in case of normMeth = "mz"
,
data(Blank2022spec)
data(Blank2022peaks)
norm <- normalize(Blank2022spec, Blank2022peaks, normMeth = "mz", normMz = 760.585, normTol = 0.1)
# normalization factors
norm$factor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.