Biocaml_unix.MzDataRead mzData files (mass spectrometry data format).
type vec =
(float, Bigarray.float64_elt, Bigarray.fortran_layout) Bigarray.Array1.tVectors of 64 bits floats.
type int_vec =
(int, Bigarray.int_elt, Bigarray.fortran_layout) Bigarray.Array1.tVectors of OCaml ints.
module Precursor : sig ... endtype spectrum = {id : int;index of the spectrum in the file (starting with 1).
*)mslevel : int;1: MS, 2: MS/MS,...
*)precursor : Precursor.t list;List of precursors to the spectrum currently being described.
*)mz : vec;m/z
*)int : vec;intensities
*)sup : (string * vec) list;Supplemental (name, arrays), if any
*)}Individual mass spectrum.
val of_file : string -> spectrum listof_file fname returns the spectra contained in the file fname.