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

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

[复制链接]
发表于 2012-9-29 23:28:27 | 显示全部楼层 |阅读模式
ratio(sdef)
ratio()所属R语言包:sdef

                                        Ratio Th between the observed features in common and the expected ones
                                         比TH之间所观察到的共同的特点和预期的

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

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

The function for each experiment calculates the ratio T(h) for each threshold h, using the list of p-values or the other measure used in the experiment to rank the features, (e.g. posterior probability, correlation).
每个实验的函数计算的比T(h)为每个阈值H,使用p-值或在实验中使用的其他措施,来排列的功能列表中,(例如,后验概率,相关)。


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


ratio(data, pvalue = TRUE, interval = 0.01,
name ="Distribution of T(h)",dir = getwd(),
dataname = "dataratio")



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

参数:data
Lists of pvalues to be compared
Lists of pvalues to be compared


参数:pvalue
Indicate if the data are pvalues (TRUE) or posterior probability (FALSE). If they are posterior probability they are transformed in pvalues. If correlation is used, select p-value=FALSE
Indicate if the data are pvalues (TRUE) or posterior probability (FALSE). If they are posterior probability they are transformed in pvalues. If correlation is used, select p-value=FALSE


参数:interval
The interval between two threshold
The interval between two threshold


参数:name
The name to be used in the plots
The name to be used in the plots


参数:dir
Directory for storing the plots
Directory for storing the plots


参数:dataname
The name of the file containing the data (Pvalue)
The name of the file containing the data (Pvalue)


Details

详细信息----------Details----------

This function calculates the ratio T(h) of observed number of features in common between the lists vs the expected number under the hypothesis of independence for each threshold h. The expected numbers are calculated as the product among the marginals divided by (numbers of features)^(number of lists-1). T(hmax) identifies the maximum of the statistic T(h) and it is shown on the plot.
此函数计算比T(H)观测到的数量比预期的数量阈值H为每个独立的假设下列表之间的共同的特点。预计计算的乘积除以(numbers of features)^(number of lists-1)之间的边缘人。标识的最大T(HMAX)的统计量T(H),它显示在图上。


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

Returns a plot with the distribution of T(h) showing where T(hmax) and hmax are located. The same plot is also saved in the directory specified by the user. It returns also an object of class list with the ratio, the thresholds and other attributes. In particular: <table summary="R valueblock"> <tr valign="top"><td>h </td> <td> Threshold corresponding to T(h) values</td></tr> <tr valign="top"><td>DE </td> <td> Differentially expressed features in each experiment</td></tr> <tr valign="top"><td>ratios </td> <td> Vector or T(h) values for each threshold</td></tr> <tr valign="top"><td>Common </td> <td> Features in common corresponding to the T(h) values</td></tr> <tr valign="top"><td>interval </td> <td> Interval on the p-value scale defined by the user (default is 0.01)</td></tr> <tr valign="top"><td>name </td> <td> Names to be used in the plots (defined by the user)</td></tr> <tr valign="top"><td>pvalue </td> <td> Logical: TRUE if the measures used for the analysis are p-value, FALSE if they are posterior probabilities</td></tr> <tr valign="top"><td>dataname </td> <td> The name of the file where the data has been saved</td></tr> </table>
返回一个图的分布T(H)显示,T(扬程)和扬程。同样的图也被保存在用户指定的目录中。它返回的对象类列表中的比例,阈值和其他属性。特别是:<table summary="R valueblock"> <tr valign="top"> <TD> h  </ TD> <TD>阈值对应于T(H)的值</ TD> </ TR > <tr valign="top"> <TD> DE </ TD> <TD>差异表达的功能,在每次实验中</ TD> </ TR> <tr valign="top"> <TD> ratios  </ TD> <TD>矢量或T(H)的每个阈值的值</ TD> </ TR> <tr valign="top"> <TD> Common </ TD> < TD> T(H)的值对应的共同特点</ TD> </ TR> <tr valign="top"> <TD>interval  </ TD> <TD>的p值的时间间隔规模定义的用户(默认为0.01)</ TD> </ TR> <tr valign="top"> <TD>name  </ TD> <TD>的田块要使用的名称(定义由用户设定)</ TD> </ TR> <tr valign="top"> <TD>pvalue  </ TD> <TD>逻辑:TRUE,如果所采取的措施的分析,p值, ,FALSE如果他们的后验概率</ TD> </ TR> <tr valign="top"> <TD> dataname </ TD> <TD>的数据已保存的文件的名称</ TD> </ TR> </ TABLE>


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


Alberto Cassese, Marta Blangiardo



参考文献----------References----------




实例----------Examples----------


data = simulation(n=500,GammaA=1,GammaB=1,r1=0.5,r2=0.8,
DEfirst=300,DEsecond=200,DEcommon=100)
Th<- ratio(data=data$Pval)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-30 05:01 , Processed in 0.021530 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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