package biocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Read mzData files (mass spectrometry data format).

Vectors of 64 bits floats.

Vectors of OCaml ints.

module Precursor : sig ... end
type spectrum = {
  1. id : int;
    (*

    index of the spectrum in the file (starting with 1).

    *)
  2. mslevel : int;
    (*

    1: MS, 2: MS/MS,...

    *)
  3. precursor : Precursor.t list;
    (*

    List of precursors to the spectrum currently being described.

    *)
  4. mz : vec;
    (*

    m/z

    *)
  5. int : vec;
    (*

    intensities

    *)
  6. sup : (string * vec) list;
    (*

    Supplemental (name, arrays), if any

    *)
}

Individual mass spectrum.

val of_file : string -> spectrum list

of_file fname returns the spectra contained in the file fname.