rmBaseline              package:PROcess              R Documentation

_B_a_t_c_h _B_a_s_e_l_i_n_e _S_u_b_t_r_a_c_t_i_o_n.

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

     Baseline subtraction from each raw spectrum in 'fldr'.

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

     rmBaseline(fldr, bseoffrda = NULL, breaks = 200, qntl = 0, 
       method = "loess", bw = 0.1, 
       SpecNames = list.files(fldr, pattern = "\.*csv\.*"))

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

    fldr: a path to where the raw spectra are stored

bseoffrda: optional; name of the file (with  extension .rda) where the
          baseline-substracted  spectra, a matrix with row-names as the
          m/z  values  and column-names as the spectrum tags, will be
          saved  to. 

  breaks: see bslnoff().

    qntl: see bslnoff().

  method: see bslnoff().

      bw: see bslnoff().

SpecNames: a vector of character strings as spectrum  names.

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

     A matrix whose columns correspond to  baseline-subtracted spectra
     with row-names as  the m/z values and column-names as the spectrum
      names.

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

     Xiaochun Li

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

     `bslnoff'.

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

     testdir <- system.file("Test", package = "PROcess")
     testM <- rmBaseline(testdir)

