找回密码
 注册
查看: 992|回复: 0

R语言 TargetSearch包 ProfileCleanUp()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 15:23:54 | 显示全部楼层 |阅读模式
ProfileCleanUp(TargetSearch)
ProfileCleanUp()所属R语言包:TargetSearch

                                         Reduce redundancy of the profile
                                         减少冗余的个人资料

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function reduces/removes redundancy in a profile.
此功能可以减少/删除配置文件中的冗余。


用法----------Usage----------


ProfileCleanUp(Profile, timeSplit=500, r_thres=0.95, minPairObs=5)



参数----------Arguments----------

参数:Profile
A tsProfile object. See Profile.  
一个tsProfile对象。看到Profile。


参数:timeSplit
A RI window.  
一个国际扶轮的窗口。


参数:r_thres
A correlation threshold.  
一个相关的阈值。


参数:minPairObs
Minimum number of pair observations. Correlations between two variables are computed using all complete pairs of observations in those variables. If the number of observations is too small, you may get high correlations values just by chance, so this parameters is used to avoid that. Cannot be set lower than 5.
对观测的最低数量。使用这些变量的完整的观测对两个变量之间的相关性计算。如果观测的数量太小了,你可以得到高的相关性只是偶然的值,所以此参数用来避免。不能低于5。


Details

详情----------Details----------

Metabolites that are inside a timeSplit window will be correlated to see whether the metabolites are the same or not, by using r_thres as a cutoff. If so, the intensities and RI will be averaged and the metabolite with more correlating masses will be suggested.
timeSplit窗口内的代谢产物,将相关的代谢产物是否是相同或不使用r_thres作为一个截止。如果是的话,平均强度和RI将与更多相关群众的代谢产物,将建议。


值----------Value----------

A tsProfile object with a non-redundant profile of the masses that were searched and correlated, and intensity and RI matrices of the correlating masses.
一个tsProfile对象与群众进行了全面搜查和相关,相关群众的强度和RI矩阵非冗余轮廓。


参数:slot "Info"
A data frame with a profile of all masses that correlate and the metabolites that correlate in a timeSplit window.
关联和所有群众的代谢产物,在timeSplit窗口相关资料与数据框。


参数:slot "profInt"
A matrix with the averaged intensities of the correlating masses.
一个矩阵与相关群众的平均强度。


参数:slot "profRI"
A matrix with the averaged RI of the correlating masses.
与相关群众的平均国际扶轮的矩阵。


参数:slot "Intensity"
A list containing peak-intensity matrices, one matrix per metabolite.
一份列表,列出峰强度矩阵,矩阵每代谢产物之一。


参数:slot "RI"
A list containing RI matrices, one matrix per metabolite.
一个列表,其中包含国际扶轮矩阵,每一个代谢产物矩阵。


作者(S)----------Author(s)----------


Alvaro Cuadros-Inostroza, Matthew Hannah, Henning Redestig



参见----------See Also----------

Profile, tsProfile
Profile,tsProfile


举例----------Examples----------


# load example data[加载示例数据]
require(TargetSearchData)
data(TargetSearchData)

RI.path <- file.path(.find.package("TargetSearchData"), "gc-ms-data")
refLibrary <- ImportLibrary(file.path(RI.path,"library.txt"))
# update RI file path[更新注册机文件路径]
RIpath(sampleDescription) <- RI.path
# Import Library[导入库]
refLibrary        <- ImportLibrary(file.path(RI.path,'library.txt'))
# update median RI[更新中位数的RI]
refLibrary        <- medianRILib(sampleDescription, refLibrary)
# get the sample RI[得到样品RI]
corRI             <- sampleRI(sampleDescription, refLibrary, r_thres = 0.95)
# obtain the peak Intensities of all the masses in the library[获得库中的所有群众的峰值强度]
peakData          <- peakFind(sampleDescription, refLibrary, corRI)
metabProfile      <- Profile(sampleDescription, refLibrary, peakData, r_thres = 0.95)

# here we use the metabProfile previously calculated and return a "cleaned" profile.[这里我们使用先前计算的metabProfile,和返回一个“干净”的文件。]
metabProfile.clean <- ProfileCleanUp(metabProfile, timeSplit = 500,
                      r_thres = 0.95)

# Different cutoffs could be specified[可以指定不同的截止时间]
metabProfile.clean <- ProfileCleanUp(metabProfile, timeSplit = 1000,
                      r_thres = 0.9)


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-2 20:03 , Processed in 0.020185 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表