parseELU               package:flagme               R Documentation

_P_a_r_s_e_r _f_o_r _E_L_U _f_i_l_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Reads ASCII ELU-format files from AMDIS (Automated Mass Spectral
     Deconvolution and Identification System)

_U_s_a_g_e:

     parseELU(f,min.pc=.01,mz=seq(50,550),rt.cut=.008,rtrange=NULL)

_A_r_g_u_m_e_n_t_s:

       f: ELU filename to read.

  min.pc: minimum percent of maximum intensity.

      mz: vector of mass-to-charge bins of raw data table.

  rt.cut: the difference in retention time, below which peaks are
          merged together.

 rtrange: retention time range to parse peaks from, can speed up
          parsing if only interested in a small region (must be
          'numeric' vector of length 2)

_D_e_t_a_i_l_s:

     '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.

_V_a_l_u_e:

     '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.

_A_u_t_h_o_r(_s):

     Mark Robinson

_R_e_f_e_r_e_n_c_e_s:

     Mark D Robinson (2008).  Methods for the analysis of gas
     chromatography - mass spectrometry data  _PhD dissertation_
     University of Melbourne.

_S_e_e _A_l_s_o:

     'addAMDISPeaks'

_E_x_a_m_p_l_e_s:

     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])

