extractPrecSpectra-methods(MSnbase)
extractPrecSpectra-methods()所属R语言包:MSnbase
Extracts precursor-specific spectra from an 'MSnExp' object
从MSnExp对象提取易制毒化学特定的光谱
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extracts the MSMS spectra that originate from the precursor(s) having the same MZ value as defined in theprec argument.
提取MSM的光谱,源于prec参数定义具有相同锰锌值(S)的易制毒化学。
A warning will be issued of one or several of the precursor MZ values in prec are absent in the experiment precursor MZ values (i.e in precursorMz(object)).
一个会发出警告的一个或几个易制毒化学的锰锌值在prec是在缺席实验的易制毒化学锰锌值(即在precursorMz(object))。
方法----------Methods----------
Returns an "MSnExp" containing MSMS spectra whose precursor MZ values are in prec.
返回"MSnExp"包含环境科学光谱的易制毒化学的锰锌值在prec。
作者(S)----------Author(s)----------
Laurent Gatto <lg390@cam.ac.uk>
参见----------See Also----------
extractSpectra
extractSpectra
举例----------Examples----------
file <- dir(system.file(package="MSnbase",dir="extdata"),
full.name=TRUE,pattern="mzXML$")
aa <- readMSData(file,verbose=FALSE)
my.prec <- precursorMz(aa)[1]
bb <- extractPrecSpectra(aa,my.prec)
stopifnot(all(precursorMz(bb) %in% my.prec))
processingData(bb)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|