Normalize spectra and peaks
Value
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"
,
Examples
data(Blank2022spec)
data(Blank2022peaks)
norm <- normalize(Blank2022spec, Blank2022peaks, normMeth = "mz", normMz = 760.585, normTol = 0.1)
# normalization factors
norm$factor
#> [1] 16141 17827 16463 15979 11687 14565 15224 11857 7949 13138 19570 13271
#> [13] 10036 12771 16056 16157 17366 14420 15080 18108 10366 17430 12866 14851
#> [25] 12895 14920 16715 13496 8735 14091 13168 7955