Last chance! 50% off unlimited learning
Sale ends in
parseELU(f,min.pc=.01,mz=seq(50,550),rt.cut=.008,rtrange=NULL)
numeric
vector of length 2)list
with components peaks
(table of spectra -- rows are mass-to-charge and columns are the
different detected peaks) and tab
(table of features for each detection), according to what is stored in
the ELU file.parseELU
will typically be called by addAMDISPeaks
, not called directly.
Peaks that are detected within rt.cut
are merged together. This avoids peaks which are essentially
overlapping.
Fragments that are less than min.pc
of the maximum intensity fragment are discarded.
Mark D Robinson (2008). Methods for the analysis of gas chromatography - mass spectrometry data PhD dissertation University of Melbourne.
addAMDISPeaks
require(gcspikelite)
# paths and files
gcmsPath<-paste(find.package("gcspikelite"),"data",sep="/")
eluFiles<-dir(gcmsPath,"ELU",full=TRUE)
# parse ELU file
eluList<-parseELU(eluFiles[1])
Run the code above in your browser using DataLab