sum.MassArraySpectrum(MassArray)
sum.MassArraySpectrum()所属R语言包:MassArray
Sum MassArraySpectrum objects
总和MassArraySpectrum对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Function to collapse multiple MassArraySpectrum objects into a single MassArraySpectrum representing the sum of each
功能倍数成一个单一MassArraySpectrum代表每一笔多个MassArraySpectrum对象
用法----------Usage----------
## S3 method for class 'MassArraySpectrum'
sum(x, ..., trim = 0, na.rm = TRUE)
参数----------Arguments----------
参数:x
One or multiple MassArraySpectrum objects to include in sum
一个或多个MassArraySpectrum对象包括在总和
参数:...
Any additional MassArraySpectrum objects to include in sum
任何的额外MassArraySpectrum对象包括在总和
参数:trim
Numerical value between 0 and 0.5 specifying the proportion of spectra to remove from consideration on a per peak basis, such that the SNR of each peak is calculated as the trimmed mean of the same peak across all included spectra.
指定的光谱比例从考虑取消对每一个峰值的基础上,修剪的所有光谱相同的峰值平均计算,每个峰的信噪比数值在0和0.5之间。
参数:na.rm
Logical value passed to mean, indicating whether NA values should be stripped before the computation proceeds.
逻辑值传递到mean,说明是否NA值前应计算收益剥离。
值----------Value----------
Returns a single MassArraySpectrum object that represents the union of all unique peaks from the component MassArraySpectrum objects, with SNR for each peak representing the average value of that peak across all spectra
返回一个单一的MassArraySpectrum对象,每个峰代表所有光谱,高峰值平均为代表的工会从的组件MassArraySpectrum对象与信噪比,所有独特的山峰
作者(S)----------Author(s)----------
Reid F. Thompson (<a href="mailto:rthompso@aecom.yu.edu">rthompso@aecom.yu.edu</a>), John M. Greally (<a href="mailto:jgreally@aecom.yu.edu">jgreally@aecom.yu.edu</a>)
参见----------See Also----------
See Also as MassArraySpectrum
另见MassArraySpectrum
举例----------Examples----------
data(MassArray.example.data)
MassArray.example.data$samples[[1]]$peaks[[11]]$height
MassArray.example.data$samples[[1]] <- sum.MassArraySpectrum(MassArray.example.data$samples[[1]], MassArray.example.data$samples[[2]])
MassArray.example.data$samples[[1]]$peaks[[11]]$height
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|