Description Usage Arguments Value Examples
Determine a first approximation of the injection peak based on the angle of the injection peak and changing of variation. This peak is not used directly by findFIAsignal, but will be used to initialize the regression giving the injection peak. Shloud be used carefuly.
1 2 3 4 5 6 7 | determiningInjectionZone(
xraw,
threshold = 0.05,
graphical = FALSE,
scanmin = NULL,
scanmax = NULL
)
|
xraw |
An xcmsRaw object as returned by |
threshold |
A relative increase born to detect the limit of the injection peak. |
graphical |
should the resulting limit be plotted. |
scanmin |
The first scan to consider. |
scanmax |
The last scan to consider. |
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 <- determiningInjectionZone(xraw)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.