plotPeak(MassSpecWavelet)
plotPeak()所属R语言包:MassSpecWavelet
Plot the identified peaks over the spectrum
绘制在频谱峰
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plot the identified peaks over the spectrum. The identified peaks are returned by peakDetectionCWT or identifyMajorPeaks
绘制在频谱峰。所确定的峰返回peakDetectionCWT或identifyMajorPeaks的
用法----------Usage----------
plotPeak(ms, peakIndex = NULL, mz = 1:length(ms), range = c(min(mz), max(mz)), method = c("p", "l"), main = NULL, log = "", ...)
参数----------Arguments----------
参数:ms
the MS spectrum
MS谱
参数:peakIndex
m/z indexes of the identified peaks
m / z为指标的确定峰
参数:mz
m/z value correspond to m/z index
m / z值对应的m / z指数
参数:range
the plot range of m/z value
图m / z值范围
参数:method
plot method of the identified peaks. method 'p' plot circles on the peaks; method 'l' add vertical lines over the peaks.
图法所确定的山峰。方法P积峰圈子;方法L添加垂直线以上的山峰。
参数:main
parameter of plot
plot参数
参数:log
parameter of plot
plot参数
参数:...
other parameters of points
其他参数points
作者(S)----------Author(s)----------
Pan Du
参见----------See Also----------
peakDetectionCWT, identifyMajorPeaks
peakDetectionCWT,identifyMajorPeaks
举例----------Examples----------
data(exampleMS)
SNR.Th <- 3
peakInfo <- peakDetectionCWT(exampleMS, SNR.Th=SNR.Th)
majorPeakInfo = peakInfo$majorPeakInfo
peakIndex <- majorPeakInfo$peakIndex
plotPeak(exampleMS, peakIndex, main=paste('Identified peaks with SNR >', SNR.Th))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|