msviewer - Explore mass spectrum or set of mass spectra

Syntax

msviewer(MZ, Y)
msviewer(..., 'Markers', MarkersValue)
msviewer(..., 'Group', GroupValue)

Arguments

MZMass/charge vector with the range of ions in the spectra.
YIon intensity vector with the same length as the mass/charge vector (MZ). Y can also be a matrix with several spectra that share the same mass/charge (MZ) range.

Description

msviewer(MZ, Y) creates a GUI to display and explore a mass spectrum (Y).

msviewer(..., 'Markers', MarkersValue)specifies a list of marker positions from the mass/charge vector (MZ) for exploration and easy navigation. Enter a column vector with MZ values.

msviewer(..., 'Group', GroupValue) specifies a class label for every spectrum with a different color for every class. Enter a column vector of size [numSpectra x 1] with integers. The default value is [numSpectra].

MSViewer GUI features include the following:

MSViewer has five components:

Examples

  1. Load and plot sample data

    load sample_lo_res
    msviewer(MZ_lo_res, Y_lo_res)
  2. Add a marker by pointing to a mass peak, right-clicking, and then clicking Add Marker.

  3. From the File menu, select

  4. From the Tools menu, click

  5. Move the cursor to the range window at the bottom. Click and drag the view box to a new location.

See Also

Bioinformatics Toolbox™ functions: msalign, msbackadj, mslowess, msnorm, msheatmap, msresample, mssgolay

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS