peakFrontingTailingResolver {IDSL.IPA}R Documentation

Fronting and tailing peaks resolver

Description

This function attempts to resolve peak tailings or frontings into the main peak in case they were detected as seperate peaks.

Usage

peakFrontingTailingResolver(segment, int, maxScanDifference, peakResolvingPower = 0.025)

Arguments

segment

a matrix or a vector of peak boundaries.

int

a vector of intensities of the entire chromatogram.

maxScanDifference

maximum scan number difference between peak tailing or fronting and the main peak.

peakResolvingPower

power of peak resolving tool.

Value

A matrix of 2 columns. Each row indicates peak boundary indices on the 'int' vector after resolving fronting and tailing peaks.

Examples

data(segment)
data(chromatogramMatrix)
int <- chromatogramMatrix$smoothChromatogram
maxScanDifference <- 7
peakResolvingPower <- 0.2
peakFrontingTailingResolver(segment, int, maxScanDifference, peakResolvingPower)

[Package IDSL.IPA version 2.9 Index]