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

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

[复制链接]
发表于 2012-2-25 18:22:27 | 显示全部楼层 |阅读模式
simnewsamples(gaga)
simnewsamples()所属R语言包:gaga

                                         Posterior predictive simulation
                                         后预测模拟

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

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

Simulates parameters and data from the posterior and posterior predictive distributions, respectively, of a GaGa or MiGaGa model.
后和后部的预测分布,分别一个GAGA或MiGaGa的模型,模拟参数和数据。


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


simnewsamples(gg.fit, groupsnew, sel, x, groups)



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

参数:gg.fit
GaGa or MiGaGa fit (object of type gagafit, as returned by fitGG).  
GAGA或MiGaGa合适的类型gagafit,fitGG返回的对象。


参数:groupsnew
Vector indicating the group that each new sample should belong to. length(groupsnew) is the number of new samples that will be generated.  
矢量显示组,每一个新的样本应该属于。 length(groupsnew)是将生成新的样本数量。


参数:sel
Numeric vector with the indexes of the genes we want to draw new samples for (defaults to all genes). If a logical vector is indicated, it is converted to (1:nrow(x))[sel].
数字向量,我们要绘制新的样品(默认为所有的基因)的基因指标。如果一个逻辑向量表示,它被转换为(1:nrow(x))[sel]。


参数:x
ExpressionSet, exprSet, data frame or matrix containing the gene expression measurements used to fit the model.
ExpressionSet,exprSet,数据框或矩阵包含用于拟合模型的基因表达测量。


参数:groups
If x is of type ExpressionSet or exprSet, groups should be the name of the column in pData(x) with the groups that one wishes to compare. If x is a matrix or a data frame, groups should be a vector indicating to which group each column in x corresponds to.
x如果类型ExpressionSet或exprSet,groups应该是列名pData(x)一个愿望比较组。 x如果是一个矩阵或一个数据框,groups应该是哪一组x中的每一列对应的向量。


Details

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

The shape parameters are actually drawn from a gamma approximation to their posterior distribution. The function rcgamma implements this approximation.
从伽玛近似的后验分布的形状参数实际上是绘制。功能rcgamma实现这种近似。


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

Object of class 'ExpressionSet'. Expression values can be accessed via exprs(object) and the parameter values used to generate the expression values can be accessed via fData(object).
对象的类的ExpressionSet“。表达式的值可以访问通过exprs(object)“参数值用于生成表达式的值,可以通过fData(object)访问。


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


David Rossell



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

flexible hierarchical model for microarray

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

checkfit for posterior predictive plot,
checkfit后预测图,

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-8 13:12 , Processed in 0.019921 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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