chromatography
    Preparing search index...

    Function scaleAlignment

    • Aligns the time of the sample based on the regression with his reference value

      Parameters

      • reference: ChromatogramPeak[]

        Array of peaks, integrated mass spectra and weighted mass spectra for the reference chromatogram

      • sample: ChromatogramPeak[]

        Array of peaks, integrated mass spectra and weighted mass spectra for the sample chromatogram

      • options: ScaleAlignmentOptions = {}

      Returns ScaleAlignmentResult

      The scaled spectra.

      • scaleRegression: The regression function to make the regression
      • stringFormula: Regression equation
      • r2: R2 quality number
      • error: Vector of the difference between the spected value and the actual shift value