Description Usage Arguments Details Examples
Find local maxima in a chromatogram
1 | find_peaks(chr_data, maximum_peaks = 1)
|
chr_data |
Chromatogram data imported by |
maximum_peaks |
Maximum number of peaks to find. |
This function searches for local maxima along the curves of chromatograms.
Because the search can yield even slightest spikes as peaks, the hits are
sorted in a descending order based on the UV absorbance the the top
maximum_peaks
(default 1) are reported.
The algorithm is modified from the findPeaks
function in
quantmod package.
1 2 3 4 | ## Not run:
peaks <- find_peaks(chr_data, 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.