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

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

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

                                         Average the correlating masses for each metabolite
                                         平均每个代谢产物的相关群众

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

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

This function makes a profile from the masses that correlate for each metabolite.
此功能使得从群众中每个代谢产物的相关个人资料。


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


Profile(samples, Lib, peakData, r_thres = 0.95, method = "dayNorm", minPairObs = 5)



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

参数:samples
A tsSample object created by ImportSamples function.  
一个tsSampleImportSamples函数创建的对象。


参数:Lib
A tsLib object created by ImportLibrary function with corrected RI values. See medianRILib.  
一个tsLibImportLibrary纠正RI值的函数创建的对象。看到medianRILib。


参数:peakData
A tsMSdata object. See peakFind.
一个tsMSdata对象。看到peakFind。


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


参数:method
Normalisation method. Options are "dayNorm", a day based median normalisation, "medianNorm", normalisation using the median of all the intensities of a given mass, and "none", no normalisation at all.  
标准化的方法。选项是"dayNorm",一天的中位数标准化,"medianNorm",标准化的使用给定质量的所有强度的中位数,和"none",都没有标准化。


参数: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。


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

A tsProfile object. The slots are:
一个tsProfile对象。插槽:


参数:Info
A data frame with a profile of all masses that correlate.
一个数据框的所有群众,相关资料。


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


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


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


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


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


Alvaro Cuadros-Inostroza, Matthew Hannah, Henning Redestig



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

ImportSamples, ImportLibrary, medianRILib,
ImportSamples,ImportLibrary,medianRILib


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


require(TargetSearchData)
data(TargetSearchData)

# get RI file path[获得国际扶轮文件路径]
RI.path <- file.path(.find.package("TargetSearchData"), "gc-ms-data")
# 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)
# make a profile of the metabolite data[使代谢物的数据资料]
metabProfile      <- Profile(sampleDescription, refLibrary, peakData, r_thres = 0.95)

# same as above, but with different thresholds.[和上面一样,但不同的阈值。]
metabProfile      <- Profile(sampleDescription, refLibrary, peakData,
                     r_thres = 0.9, minPairObs = 5)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-2 22:47 , Processed in 0.021529 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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