comp.B(DEDS)
comp.B()所属R语言包:DEDS
Computing B-statistics for Differential Expression
计算B-统计差异表达
译者:生物统计家园网 机器人LoveR
描述----------Description----------
comp.B returns a function of one argument with bindings for L and proportion. This function accepts a microarray data matrix as its single argument, when evaluated, computes lod-odds of differential expression by empirical Bayes shrinkage of the standard error toward a common value. The lod-odds are sometimes called B statistics.
comp.BL和proportion绑定返回一个参数的函数。这个函数接受一个芯片的数据矩阵作为其单一参数,评估时,计算LOD赔率差异表达的经验Bayes收缩朝着一个共同的价值标准错误。 LOD赔率有时也被称为B统计数字。
用法----------Usage----------
comp.B(L = NULL, proportion = 0.01)
参数----------Arguments----------
参数:L
A vector of integers corresponding to observation (column) class labels. For k classes, the labels must be integers between 0 and k-1.
观察(列)类的标签对应的整数向量。对于k类,标签必须是0k-1之间的整数。
参数:proportion
A numeric variable specifying the proportion of differential expression.
一个数字变量指定的差异表达的比例。
Details
详情----------Details----------
The function returned by comp.B calculates B statistics for each row of the microarray data matrix, with bindings for L and proportion. It interfaces to a C function. comp.stat is another function that wraps around the same C function that could be used for computing B statistics (see examples below).
该函数返回由comp.B乙统计计算的微阵列数据矩阵的每一行,L和proportion绑定。一个C函数接口。 comp.stat是另一个包裹周围相同的C函数,可用于计算B统计(见下面的例子)的功能。
值----------Value----------
comp.B returns a function (F) with the bindings for L and proportion . The function F when supplied with a microarray data matrix and evaluated will return a numeric vector of B statistics for each row of the matrix.
comp.B(F)与绑定L和proportion返回一个函数。提供微阵列数据矩阵和评价函数F将返回一乙统计的数字向量,矩阵的每一行。
作者(S)----------Author(s)----------
Yuanyuan Xiao, <a href="mailto:yxiao@itsa.ucsf.edu">yxiao@itsa.ucsf.edu</a>, <br>
Jean Yee Hwa Yang, <a href="mailto:jeany@maths.usyd.edu.au">jeany@maths.usyd.edu.au</a>.
参考文献----------References----------
data. Statistica Sinica 12, 31-46.
assessing differential expression in microarray experiments. http://www.statsci.org/smyth/pubs/ebayes.pdf
参见----------See Also----------
comp.modt,comp.stat.
comp.modt,comp.stat。
举例----------Examples----------
X <- matrix(rnorm(1000,0,0.5), nc=10)
L <- rep(0:1,c(5,5))
# genes 1-10 are differentially expressed[差异表达基因的1-10]
X[1:10,6:10]<-X[1:10,6:10]+1
# compute B statistics, proportion set as 0.01[计算乙统计,比例为0.01]
B.fun <- comp.B(L)
B.X <- B.fun(X)
# compute B statistics, proportion set as 0.1[计算乙统计,比例设定为0.1]
B.fun <- comp.B(L, proportion=0.1)
B.X <- B.fun(X)
# Another way of computing B statistics[另一种计算B统计]
B.X<- comp.stat(X, L, "B")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|