| Bioinformatics Toolbox | ![]() |
Display color image for set of spectra
msheatmap(MZ, Y, 'PropertyName', PropertyValue...)
msheatmap(..., 'Markers', MarkersValue)
msheatmap(..., 'Limits', LimitsValues)
msheatmap(..., 'Group', GroupValue)
MZ | Mass/charge vector with the range of ions in the spectra. |
Y | Ion 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. |
msheatmap(MZ, Y, 'PropertyName', PropertyValue...) shows a heatmap image of the spectra in Y.
msheatmap(..., 'Markers', MarkersValue) specifies a list of markers with positions marked along the top axis. The default value is [].
msheatmap(..., 'Limits', LimitsValues) specifies a [2x1] vector with the mass/charge range for the heatmap image.
msheatmap(..., 'Group', GroupValue) specifies the class label for every spectrum used to group the rows of the heatmap image. GroupValue can be a numeric vector or a cell array of strings with the same number of elements as there are spectra in Y.
Load sample data.
load sample_lo_res M = [3991.4 4598 7964 9160]; msheatmap(MZ_lo_res,Y_lo_res,'markers',M,'limit',[3000 10000])

Plot heatmap.
msheatmap(MZ_lo_res,Y_lo_res,'markers',M,'group',[1 1 2 2 1 1 2 2])
The Bioinformatic Toolbox functions msalign, msbackadj, mslowess, msnorm, msresample, mssgolay, msviewer
| msnorm | msresample | ![]() |
© 1994-2005 The MathWorks, Inc.