mspeaks
Convert raw peak data to peak list (centroided data)
句法
峰列
=mspeaks(X
,,,,我ntensities
)
[[峰列
,,,,pFWHH
] = mspeaks(X
,,,,我ntensities
)
[[峰列
,,,,pFWHH
,,,,pExt
] = mspeaks(X
,,,,我ntensities
)
mspeaks(X
,,,,我ntensities
, ...'根据',BaseValue
,...))
mspeaks(X
,,,,我ntensities
,...'Levels',LevelsValue
,...))
mspeaks(X
,,,,我ntensities
,...“噪声试验器”,NoingerestimatorValue
,...))
mspeaks(X
,,,,我ntensities
,...'Multiplier',MultiplierValue
,...))
mspeaks(X
,,,,我ntensities
,...'Denoising',denoisingvalue
,...))
mspeaks(X
,,,,我ntensities
,...'peakLocation',峰值值
,...))
mspeaks(X
,,,,我ntensities
,...'fwhhfilter',FWHHFilterValue
,...))
mspeaks(X
,,,,我ntensities
,...'OverSegmentationFilter',OverSegmentationFilterValue
,...))
mspeaks(X
,,,,我ntensities
,...'HeightFilter',高度缩写值
,...))
mspeaks(X
,,,,我ntensities
,...'ShowPlot',ShowPlotValue
,...))
mspeaks(X
,,,,我ntensities
, ...'风格',StyleValue
,...))
Description
finds relevant peaks in raw, noisy peak signal data, and creates峰列
=mspeaks(X
,,,,我ntensities
)峰列
,,,,a two-column matrix, containing the separation-axis value and intensity for each peak.X
is a vector of separation-unit values for a set of signals with peaks.我ntensities
是一组共享相同分离单元范围的峰值的强度值矩阵。
[[
返回峰列
,,,,pFWHH
] = mspeaks(X
,,,,我ntensities
)pFWHH
,一个两列的矩阵表示左边,对吗t locations of the full width at half height (FWHH) markers for each peak. For any peak not resolved at FWHH,mspeaks
改为返回峰形范围。什么时候我ntensities
包括多个信号,然后pFWHH
is a cell array of matrices.
[[
返回峰列
,,,,pFWHH
,,,,pExt
] = mspeaks(X
,,,,我ntensities
)pExt
,一个两列的矩阵表示左边,对吗t locations of the peak shape extents determined after wavelet denoising. When我ntensities
包括多个信号,然后pExt
is a cell array of matrices.
mspeaks(
呼叫X
,,,,我ntensities
,...'属性名称
',适当的价值
,...))mspeaks
with optional properties that use property name/property value pairs. You can specify one or more properties in any order. Enclose each属性名称
在单引号中。每个属性名称
是病例不敏感的。这些属性名称/属性值对如下:
mspeaks(
specifies the wavelet base.X
,,,,我ntensities
, ...'根据',BaseValue
,...))
mspeaks(
指定小波分解的水平数。X
,,,,我ntensities
,...'Levels',LevelsValue
,...))
mspeaks(
specifies the method to estimate the threshold,X
,,,,我ntensities
,...“噪声试验器”,NoingerestimatorValue
,...))t
,,,,至filter out noisy components in the first high-band decomposition (y_h
)。
mspeaks(
specifies the threshold multiplier constant.X
,,,,我ntensities
,...'Multiplier',MultiplierValue
,...))
mspeaks(
controls the use of wavelet denoising to smooth the signal. Choices areX
,,,,我ntensities
,...'Denoising',denoisingvalue
,...))true
(默认)或false
。
mspeaks(
指定的比例要使用的峰高至select the points used to compute the centroid separation-axis value of the respective peak.X
,,,,我ntensities
,...'peakLocation',峰值值
,...))峰值值
必须是一个值≥ 0
and≤ 1
。Default is1。0
。
mspeaks(
针对报告的峰值指定分离单元的最小全宽度(FWHH)。从输出列表中排除了低于此值的FWHH的峰值X
,,,,我ntensities
,...'fwhhfilter',FWHHFilterValue
,...))峰列
。
mspeaks(
specifies the minimum distance, in separation units, between neighboring peaks. When the signal is not smoothed appropriately, multiple maxima can appear to represent the same peak. Increase this filter value to join oversegmented peaks into a single peak.X
,,,,我ntensities
,...'OverSegmentationFilter',OverSegmentationFilterValue
,...))
mspeaks(
specifies the minimum height for reported peaks. Peaks with heights below this value are excluded from the output listX
,,,,我ntensities
,...'HeightFilter',高度缩写值
,...))峰列
。
mspeaks(
控制原始信号的图表的显示,并在输出矩阵中包含峰X
,,,,我ntensities
,...'ShowPlot',ShowPlotValue
,...))峰列
标记。
mspeaks(
specifies the style for marking the peaks in the plot.X
,,,,我ntensities
, ...'风格',StyleValue
,...))
mspeaks
finds peaks in data from any separation technique that produces signal data, such as spectroscopy, nuclear magnetic resonance (NMR), electrophoresis, chromatography, or mass spectrometry.
我nput Arguments
|
Vector of separation-unit values for a set of signals with peaks. The number of elements in the vector equals the number of rows in the matrix |
|
一组共享相同分离单元范围的峰值的强度值矩阵。每一行都对应于一个分离单位值,每个列对应于一组具有峰值或保留时间的信号。行的数量等于向量中的元素数量 |
|
整数来自 默认: |
|
整数来自 默认: |
|
Character vector, string, or scalar that specifies the method to estimate the threshold,
|
|
positive real value that specifies the threshold multiplier constant. 默认: |
|
Controls the use of wavelet denoising to smooth the signal. Choices are |
|
Value that specifies the proportion of the peak height to use to select the points to compute the centroid separation-axis value of the respective peak. The value must be 笔记 什么时候 默认: |
|
positive real value that specifies the minimum full width at half height (FWHH), in separation units, for reported peaks. Peaks with FWHH below this value are excluded from the output list 默认: |
|
positive real value that specifies the minimum distance, in separation units, between neighboring peaks. When the signal is not smoothed appropriately, multiple maxima can appear to represent the same peak. Increase this filter value to join oversegmented peaks into a single peak. 默认: |
|
positive real value that specifies the minimum height for reported peaks. 默认: |
|
控制原始信号和平滑信号的图的显示,其中峰包含在输出矩阵中
|
|
Character vector or string specifying the style for marking the peaks in the plot. Choices are:
|
输出参数
|
两列矩阵,其中每一行对应于峰值。第一列包含分离单位值(指示沿分隔轴的峰位置)。第二列包含强度值。什么时候 |
|
两列矩阵指示每个峰的全宽度(FWHH)标记的全宽度的左右位置。对于未解决的任何峰值, |
|
two-column matrix indicating the left and right locations of the peak shape extents determined after wavelet denoising. When |
Examples
加载一个包含两个质谱数据变量的BioInformatics Toolbox™软件中包含的垫子文件,
MZ_lo_res
andY_lo_res
。MZ_lo_res
is a vector of m/z values for a set of spectra.Y_lo_res
is a matrix of intensity values for a set of mass spectra that share the same m/z range.loadsample_lo_res
Adjust the baseline of the eight spectra stored in
Y_lo_res
。yb = msbackadj(mz_lo_res,y_lo_res);
通过在每个光谱中找到相关峰,将原始质谱数据转换为峰列表。
p=mspeaks(MZ_lo_res,YB);
绘制第三频谱
YB
,,,,the matrix of baseline-corrected intensity values, with the detected peaks marked.p = mspeaks(mz_lo_res,yb,“ Showplot”,,,,3);
Smooth the signal using the
mslowess
功能。然后通过找到相关峰并绘制第三频谱,将平滑的数据转换为峰列表。YS = mslowess(MZ_lo_res,YB,“ Showplot”,,,,3);
p = mspeaks(mz_lo_res,ys,'DENOISING',,,,false,“ Showplot”,,,,3);
使用
cellfun
从输出中列出的八个峰值中删除M/z值的所有峰值的功能p
。然后将第三频谱(红色)的峰上绘制在其平滑信号(蓝色)上。Q = cellfun(@(p) p(p(:,1)>2000,:),P,“统一输出”,错误的);图图(mz_lo_res,ys(:,3),'b',,,,Q{3}(:,1),Q{3}(:,2),'rx')xlabel('Mass/Charge (M/Z)')ylabel(“相对强度”)轴([0 20000 -5 95])
Algorithms
mspeaks
通过:
Smoothing the signal using undecimated wavelet transform with Daubechies coefficients
Assigning peak locations
估计噪声
Eliminating peaks that do not satisfy specified criteria
References
[[1] Morris, J.S., Coombes, K.R., Koomen, J., Baggerly, K.A., and Kobayash, R. (2005) Feature extraction and quantification for mass spectrometry in biomedical applications using the mean spectrum. Bioinfomatics21:9,,,,1764–1775.
[2] Yasui,Y.,Pepe,M.,Thompson,M.L.,Adam,B.L.,Wright,G.L.,Y.2003)蛋白质生物标志物发现的数据分析策略:高维蛋白质组学数据的癌症检测分析。生物统计学4:3,,,,449–463.
[[3] Donoho, D.L., and Johnstone, I.M. (1995) Adapting to unknown smoothness via wavelet shrinkage. J. Am. Statist. Asso.90,,,,1200–1224.
[4] Strang,G。和Nguyen,T。(1996)小波和过滤器库(韦尔斯利:剑桥出版社)。
[[5] Coombes, K.R., Tsavachidis, S., Morris, J.S., Baggerly, K.A., Hung, M.C., and Kuerer, H.M. (2005) Improved peak detection and quantification of mass spectrometry data acquired from surface-enhanced laser desorption and ionization by denoising spectra with the undecimated discrete wavelet transform. Proteomics5(16),,,,4107–4117.