Apply normalization factors to spectra
Examples
#' data(Blank2022peaks)
normFactors <- getNormFactors(Blank2022peaks,
targetMz = 760.585,
tol = 0.1,
tolppm = FALSE)
normPeaks <- normalizeByFactor(Blank2022peaks,
normFactors$norm_factor)