findBandsFIA {proFIA} | R Documentation |
Detect bands of points with similar mass in conscutive scans. Points may be moved if a better candidates is found.
findBandsFIA( xraw, firstScan = 1, lastScan = length(xraw@scantime), ppm = 2, sizeMin = NULL, dmz = 5e-04, beginning = NULL, end = NULL, nIso = 3, fracMin = 0.6 )
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
#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) }