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

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

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

                                        Squeeze Sample Variances
                                         挤压样本方差

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

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

Squeeze a set of sample variances together by computing empirical Bayes posterior means.
挤一套样本方差计算经验Bayes后手段。


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


squeezeVar(var, df, covariate=NULL)



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

参数:var
numeric vector of independent sample variances.
独立样本方差的数字矢量。


参数:df
numeric vector of degrees of freedom for the sample variances.
数字向量的样本方差的自由度。


参数:covariate
if non-NULL, var.prior will depend on this numeric covariate. Otherwise, var.prior is constant.
如果非NULL,var.prior将取决于对这个数字的协变量。否则,var.prior是恒定的。


Details

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

The sample variances var are assumed to follow scaled chi-squared distributions. An inverse chi-squared prior is assumed for the true variances. The scale and degrees of freedom for the prior distribution are estimated from the data.
样本方差var假设按照比例卡方分布。逆卡方事先假定的真实差异。从数据估计先验分布的规模和自由度。

The effect of this function is to smooth or shrink the variances towards a common value. The smoothed variances have a smaller expected mean square error to the true variances than do the sample variances themselves.
这个函数的作用是平滑或缩小朝着一个共同的价值差异。平滑的差异有一个较小的均方误差的样本方差比自己的真实差异。

This function is called by eBayes, but beware a possible confusion with the output from that function. The values var.prior and <VAR>var.post</VAR> output by squeezeVar correspond to the quantities s2.prior and s2.post output by eBayes, whereas var.prior output by eBayes relates to a different parameter.
此功能被称为eBayes,但要注意可能从该函数的输出与混乱。值var.prior<VAR> var.post </ VAR的>squeezeVar对应的数量s2.prior和s2.posteBayes输出的输出,而 var.prioreBayes输出涉及到不同的参数。


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

A list with components
与组件列表


参数:var.post
numeric vector of posterior variances.
数值向量后的差额。


参数:var.prior
location of prior distribution. A vector if covariate is non-NULL, otherwise a scalar.
先验分布的位置。 covariate如果是一个向量非NULL,另有一个标量。


参数:df.prior
degrees of freedom of prior distribution.
先验分布的自由程度。


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


Gordon Smyth



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

assessing differential expression in microarray experiments. Statistical Applications in Genetics and Molecular Biology, 3, No. 1, Article 3. http://www.bepress.com/sagmb/vol3/iss1/art3

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

An overview of linear model functions in limma is given by 06.LinearModels.
线性模型功能概述limma由06.LinearModels给出。


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


s2 <- rchisq(20,df=5)/5
squeezeVar(s2, df=5)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-5 00:37 , Processed in 0.018984 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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