View source: R/peakFrontingTailingResolver.R
peakFrontingTailingResolver | R Documentation |
This function attempts to resolve peak tailings or frontings into the main peak in case they were detected as seperate peaks.
peakFrontingTailingResolver(segment, int, maxScanDifference, peakResolvingPower = 0.025)
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. |
A matrix of 2 columns. Each row indicates peak boundary indices on the 'int' vector after resolving fronting and tailing peaks.
data(segment)
data(chromatogramMatrix)
int <- chromatogramMatrix$smoothChromatogram
maxScanDifference <- 7
peakResolvingPower <- 0.2
peakFrontingTailingResolver(segment, int, maxScanDifference, peakResolvingPower)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.