msheatmap
Create pseudocolor image of set of mass spectra
句法
msheatmap(
MZ
那Intensities
的)
msheatmap(MZ
那T.imes
那Intensities
的)
msheatmap(...,'中点',中点夸张
,......)
msheatmap(..., 'Range',RangeValue.
,......)
msheatmap(..., 'Markers',markersvalue.
,......)
msheatmap(..., 'SpecIdx',SpecIdxValue
,......)
msheatmap(..., 'Group',GroupValue.
,......)
msheatmap(..., 'Resolution',决议值
,......)
Arguments
MZ |
一组光谱的公共质量/充电(M / z)值的柱矢量。向量中的元素数量等于矩阵中的行数Intensities 。笔记 你可以使用 |
T.imes |
Column vector of retention times associated with a liquid chromatography/mass spectrometry (LC/MS) or gas chromatography/mass spectrometry (GC/MS) data set. The number of elements in the vector equals the number of columns in the matrixIntensities 。T.he retention times are used to label they -axis of the heat map.提示 你可以使用 |
Intensities |
Matrix of intensity values for a set of mass spectra that share the same m/z range. Each row corresponds to an m/z value, and each column corresponds to a spectrum or retention time. The number of rows equals the number of elements in vectorMZ 。列的数量等于eleme的数量nts in vectorT.imes 。笔记 你可以使用 |
中点夸张 |
指定离子强度值的定量位数的值下降到Colormap的中点以下,这意味着它们不代表峰值。msheatmap 使用自定义ColorMap,其中酷颜色代表非斑腔区域,白色表示中点,暖色表示峰值。选择是任何价值≥ 0 and≤ 1 。默认为:
提示 You can also change the midpoint interactively after creating the heat map by right-clicking the color bar, selectingInteractive Colormap Shift那and then click-dragging the cursor vertically on the color bar. This technique is useful when comparing multiple heat maps. |
RangeValue. |
1-by-2矢量指定M / Z范围X -axis of the heat map.RangeValue. must be within[min( ]。默认是全系列[min( 。 |
markersvalue. |
m / z值的矢量标记在热图的顶部水平轴上。默认为[] 。 |
SpecIdxValue |
Either of the following:
y -axis of the heat map.笔记 如果输入 |
GroupValue. |
Either of the following:
y - 热图中的轴。笔记 如果输入 |
决议值 |
指定热图图像水平分辨率的值。增加此值以增强细节。减少此值以降低内存使用情况。默认为:
|
Description
msheatmap(
显示矩阵中光谱强度的伪叠加器热图图像MZ
那Intensities
的)
。Intensities
msheatmap(
显示矩阵中光谱强度的伪叠加器热图图像MZ
那T.imes
那Intensities
的)Intensities
那using the retention times in vectorT.imes
to label they
-轴。
msheatmap(..., '
呼叫propertyname.
',适当的价值
,......)msheatmap
with optional properties that use property name/property value pairs. You can specify one or more properties in any order. Eachpropertyname.
必须用单引号括起来,并且不论不敏感。这些属性名称/属性值对如下:
msheatmap(...,'中点',
specifies a quantile of the ion intensity values to fall below the midpoint of the colormap, meaning they do not represent peaks.中点夸张
,......)msheatmap
使用自定义ColorMap,其中酷颜色代表非斑腔区域,白色表示中点,暖色表示峰值。选择是任何价值between0.
and1
。默认为:
0.。99
- 对于LC / MS或GC / MS数据或输入时T.
提供。这意味着1%的像素是暖色的,并且代表峰值。0.。95
— For non-LC/MS or non-GC/MS data or when inputT.
is not provided. This means that 5% of the pixels are warm colors and represent peaks.
提示
You can also change the midpoint interactively after creating the heat map by right-clicking the color bar, selectingInteractive Colormap Shift,然后在彩色栏上单击垂直拖动光标。在比较多个热图时,该技术非常有用。
msheatmap(..., 'Range',
指定m / z范围的RangeValue.
,......)X
-axis of the heat map.RangeValue.
is a 1-by-2 vector that must be within[min(
]。默认是全系列MZ
的)max(MZ
的)[min(
。MZ
的)max(MZ
的)]
msheatmap(..., 'Markers',
将标记沿热图的顶部水平轴放置在矢量中指定的M / Z值markersvalue.
,......)markersvalue.
。默认为[]
。
msheatmap(..., 'SpecIdx',
标记沿着光谱SpecIdxValue
,......)y
- 热图中的轴。标签由SpecIdxValue
,值的矢量,字符向量的值,小区阵列或串向量。值或字符向量或字符串的数量与矩阵中的列(光谱)的数量相同Intensities
。每个值或字符向量或字符串指定相应频谱的标签。
msheatmap(..., 'Group',
排序并将光谱结合成沿着组GroupValue.
,......)y
- 热图中的轴。T.he groups are specified byGroupValue.
,值的矢量,字符向量的值,小区阵列或串向量。值的数量,字符向量或字符串与矩阵中的行数相同Intensities
。Each value or character vector or string specifies a group to which the corresponding spectrum belongs. Default is[1:NumSpectra]
。
msheatmap(..., 'Resolution',
specifies the horizontal resolution of the heat map image. Increase this value to enhance details. Decrease this value to reduce memory usage. Default is:决议值
,......)
0.。5 — When
MZ
包含> 2,500个元素。0.05 - 什么时候
MZ
contains <= 2,500 elements.
Examples
加载Seldi-Tof样本数据。
加载sample_lo_res
Create a vector of four m/z values to mark along the top horizontal axis of the heat map.
M = [3991.4 4598 7964 9160];
使用M / Z标记显示热图和有限的M / Z范围。
msheatmap(mz_lo_res,y_lo_res,'markers',m,'范围'那[3000 10000])
Display the heat map again grouping each spectrum into one of two groups.
两组= [1 1 2 2 1 11 2 2];msheatmap(mz_lo_res,y_lo_res,'markers',m,'group',双组)
加载LC / MS样本数据。
加载lcmsdata.
重新确定峰列表以创建M / Z值的向量和强度值的矩阵。
[MZ,强度] = MSPPRESAMPLE(MS_PEAKS,5000);
显示在不同保留时间下显示质谱的热图。
MSHEATMAP(MZ,RET_TIME,日志(强度))