getPIC.kmeans | R Documentation |
This method bases on the optimal k-means clustering of m/z values of data points in ROI. see reference for details.
getPIC.kmeans(raw, level, mztol = 0.1, gap = 3, width = c(5, 60), alpha = 0.3, min_snr = 4, ...)
raw |
Raw LC-MS data object obtained by |
level |
Mass traces are only retained if their maximum values are over |
mztol |
The m/z range of ROI. |
gap |
The number of gap points of a mass trace. |
width |
The range of a mass trace. |
alpha |
The parameter of forecasting. |
min_snr |
Minimum signal to noise ratio. |
... |
No use at present. |
a LIST of:
scantime |
The retention time of each scan. |
pics |
The extracted mass trace. |
peaks |
The detected peak of each mass trace. |
Ji, H., et al. "KPIC2: An Effective Framework for Mass Spectrometry-Based Metabolomics Using Pure Ion Chromatograms." Analytical Chemistry (2017).
getPIC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.