Description Usage Arguments Value Examples
Determine a first approximation of the injection peak using the
Douglas-Peuker Algorithm provided in the rgeos
package.
The object provided must be an xcmsRaw object.
1 2 3 |
xraw |
An xcmsRaw object as returned by |
scanmin |
The minimum scan to consider for peak detection. |
scanmax |
the maximum scan to consider. injection peak detection. |
freq |
The degrees of smoothing used on the TIC, corresponding to the cutting frequency of the blackman windowed sync filter. |
graphical |
should the resulting peak be plotted. |
smooth |
Should the TIC be smoothed, recommended. |
extended |
In case of very long tailing, shloud the research be extended. |
percentSol |
If extended is TRUE, the limiting level of solvent for |
A triplet composed of c(left limit,right limit, maximum) of the estimated injection peak.
1 2 3 4 5 6 7 8 9 10 | if(require(plasFIA)){
#Getting the path of a file.
path_raw <- list.files(system.file(package="plasFIA","mzML"),full.names=TRUE)[2]
#Opening the file with xcms
xraw <- xcmsRaw(path_raw)
#Getting a first approximation of injection peak;
sp <- determiningSizePeak.Geom(xraw)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.