View source: R/getNormFactors.R
getNormFactors | R Documentation |
Get normalization factors from peak data.frame
getNormFactors(peaks, targetMz, tol, tolppm = TRUE, allowNoMatch = TRUE)
peaks |
List of Object of class MALDIquant::MassPeaks |
targetMz |
Numeric, target mass |
tol |
Numeric, tolerance around targetMz |
tolppm |
Logical, is the tolerance provided in ppm (TRUE) or Daltion (FALSE) |
allowNoMatch |
Logical, stop if targetMz is not fround in single spectrum? If TRUE spectra without targetMz match will be excluded. |
List with two entries: norm_factor The normalization factor for each spectrum specIdx The index of the spectra with a match for targetMz
data(Blank2022peaks)
getNormFactors(Blank2022peaks, targetMz = 760.585, tol = 0.1, tolppm = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.