TestPeakInterpolation_C: TestPeakInterpolation_C.

Description Usage Arguments Value

View source: R/RcppExports.R

Description

TestPeakInterpolation_C.

Usage

1
2
3
4
5
6
7
8
9
TestPeakInterpolation_C(
  mass,
  intensity,
  peakIndex,
  WinSize = 20L,
  UpSampling = 10L,
  useHanning = FALSE,
  Iterations = 1L
)

Arguments

mass

a NumericVector containing the mass axis of the spectrum.

intensity

a NumericVector where peaks must be detected.

peakIndex

the location of the peak to interpolate in the spectrum.

WinSize

The windows used to detect peaks and caculate noise.

UpSampling

the oversampling used for acurate mass detection and area integration.

useHanning

if hanning windowing must be used befor interpolation.

Iterations

number of iterations to perform. This is just for testing interpolation efficiency

Value

a NumerixVector with the FFT interpolated peak shape.


prafols/rMSIproc documentation built on Dec. 12, 2021, 7:31 p.m.