Description Usage Arguments Value Examples
Detect bands of points with similar mass in conscutive scans. Points may be moved if a better candidates is found.
1 2 3 4 5 6 7 8 9 10 11 12 |
xraw |
An xcmsRaw object as returned by |
firstScan |
The first scan to be considered, 1 for general use. |
lastScan |
The last scan to be considered. |
ppm |
The mass deviation in ppm for point in consecutives scans. |
sizeMin |
The minimum size of a band. |
dmz |
The minimum mass tolerance,useful for small masses |
beginning |
The scan of the injection. May be determined using
|
end |
The end of injection, may be estimated using |
nIso |
The minimum number of consecutive points for a signal to be detected. |
fracMin |
The minimum fraction of points necessary in beginning:end for a signal to be detected. contaminated by solvent. |
A vector contaning the inject peak
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #Getting the path of a file.
if(require(plasFIA)){
path_raw<-list.files(system.file(package="plasFIA","mzML"),full.names=TRUE)[2]
#Opening the file with xcms
xraw<-xcmsRaw(path_raw)
#Getting the injection scan
gp<-determiningInjectionZone(xraw)
#performing band detection.
tbands<-findBandsFIA(xraw,ppm = 2,sizeMin = gp[3]-gp[1],beginning=gp[1],end=gp[2])
head(tbands)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.