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

R语言 DEDS包 comp.t()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 16:22:07 | 显示全部楼层 |阅读模式
comp.t(DEDS)
comp.t()所属R语言包:DEDS

                                        Computing One and Two Sample t-statistic for Differential Expression
                                         计算出的差异表达一个和两个样本t-统计

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

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

comp.t returns a function of one argument with bindings for L, mu, var.equal. This function accepts a microarray data matrix as its single argument, when evaluated, computes t statistics for each row of the matrix.
comp.t返回一个参数的函数绑定L,mu,var.equal。这个函数接受评估时,作为单个参数的微阵列数据矩阵,矩阵的每一行计算t统计量。


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


comp.t(L = NULL, mu = 0, var.equal = FALSE)



参数----------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之间的整数。


参数:mu
A number indicating the true value of the mean (or difference in means if you are performing a two sample test).  
数字表明平均的真正价值(或手段的差异,如果您正在执行两个样本测试)。


参数:var.equal
a logical variable indicating whether to treat the two variances as being equal. If TRUE then the pooled variance is used to estimate the variance otherwise the Welch statistic will be calculated.  
一个逻辑变量,表示是否视为相等的两个差异。如果TRUE然后合并方差估计,否则将计算韦尔奇统计方差。


Details

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

The function returned by comp.t calculates t statistics for each row of the microarary data matrix, given specific class labels.
该函数返回comp.t计算t统计数据microarary矩阵的每一行,给出具体的类标签。


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

comp.t returns a function with bindings for L, mu, var.equal, which calculates and returns of vector of t statistics for each row in the data matrix.
comp.t返回一个函数绑定L,mu,var.equal,t统计数据矩阵中的每一行向量的计算和返回。


作者(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:jean@biostat.ucsf.edu">jean@biostat.ucsf.edu</a>.




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

comp.FC, comp.F
comp.FC,comp.F


举例----------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

# two sample test, unequal variance[两个样本测试,不平等的方差]
t.fun <- comp.t(L)
t.X <- t.fun(X)

# two sample test, equal variance[两个样本测试,等于方差]
t.fun <- comp.t(L, var.equal=TRUE)
t.X <- t.fun(X)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-12 04:37 , Processed in 0.019755 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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