ApplyPeakBoundary: Extract the peak from a chromatogram by restricting the...

Description Usage Arguments Value Examples

Description

The function takes a peak group of class peakObj and the peak boundary as input. The input peak group is usually a chromatogram with a time range that is wider than the peak of interest. This function extracts peak of interest from the chromatogram by limiting the time and signal intensities of the peak to a range that is within the provided peak boundaries.

Usage

1
ApplyPeakBoundary(peak, boundary, ...)

Arguments

peak

A peak group of class peakObj

boundary

a numeric vector of size two with min start time and max end time of the peak (peak boundaries)

Value

A peak group of class peakObj with time and intensity vectors that are within the boundaries of the peak

Examples

1
2
3
4
chrom <- data.CSF$data$ChromGroup[[1]]
PlotChromPeak(chrom)
peak <- ApplyPeakBoundary(chrom,c(data.CSF$data$MinStartTime[[1]],data.CSF$data$MaxEndTime[[1]]))
PlotChromPeak(peak)

shadieshghi/TargetedMSQC documentation built on May 13, 2019, 12:20 p.m.