ramp                  package:xcms                  R Documentation

_H_i_g_h-_p_e_r_f_o_r_m_a_n_c_e, _l_o_w-_l_e_v_e_l _a_c_c_e_s_s _t_o _m_z_X_M_L/_m_z_D_a_t_a _f_i_l_e_s

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

     Functions for low-level access to data in mzXML/mzData files. They
     have been optimized for maximum speed and memory efficiency.

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

     rampInit()
     rampPrintFiles()
     rampIsFile(filename)
     rampOpen(filename)
     rampClose(rampid)
     rampCloseAll()
     rampNumScans(rampid)
     rampScanHeaders(rampid)
     rampSIPeaks(rampid, seqNum, peaksCount)
     rampRawData(rampid)

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

filename: path to mxXML/mzData file

  rampid: RAMP file ID

  seqNum: integer vector with indecies of scans to read

peaksCount: integer vector with number of peaks in each scan to read 

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

     The mechanisms and structure of mzXML/mzData files are not
     discussed here, please see the mzXML/mzData documentation for more
     information. These functions make use of the RAMP (Random Access
     Minimal Parser) code from the SASHIMI open-source project.

     'rampInit' initializes the data structures used for holding RAMP
     file pointers and indices.

     'rampPrintFiles' prints out a list of all files currently open.

     'rampCloseAll' closes all mzXML/mzData files and frees memory
     associated with their indices.

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

     'rampIsFile' returns 'TRUE' if the referenced file is an mzXML or
     mzData file and 'FALSE' otherwise.

     'rampOpen' returns the 'rampid' of the opened file.

     'rampClose' returns the closing status.

     'rampNumScans' returns the number of scans with an msLevel of 1.

     'rampSIPeaks' returns a named list with components 'scanindex',
     'mz', and 'intensity'.

     'rampScanHeaders' returns a data frame with header information for
     each scan.

     'rampRawData' returns a named list with components 'rt', 'tic',
     'scanindex', 'mz', and 'intensity'.

     An error in any of the functions will return a (negative) integer
     error code.

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

     Colin A. Smith, csmith@scripps.edu

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

     mzXML file format: <URL:
     http://sashimi.sourceforge.net/software_glossolalia.html>

     mzData file format: <URL:
     http://psidev.sourceforge.net/ms/index.html>

