Skip to contents

Integrates Spectra using the function findpeaks from the package pracma with natively added peak exclusion and evaluation steps.

Usage

MassSpecSettings_IntegrateSpectra_StreamFind(
  merge = TRUE,
  closeByThreshold = 45,
  minPeakHeight = 0,
  minPeakDistance = 10,
  minPeakWidth = 5,
  maxPeakWidth = 120,
  minSN = 10
)

Arguments

merge

Logical (length 1) indicating if the nearby peaks should be merged.

closeByThreshold

Numeric (length 1) with the maximum distance between peaks to be merged.

minPeakHeight

Numeric (length 1) with the minimum peak height to be considered.

minPeakDistance

Numeric (length 1) with the minimum distance between peaks.

minPeakWidth

Numeric (length 1) with the minimum peak width.

maxPeakWidth

Numeric (length 1) with the maximum peak width.

minSN

Numeric (length 1) with the minimum signal-to-noise ratio.

Value

A MassSpecSettings_IntegrateSpectra_StreamFind object.