comp.FC(DEDS)
comp.FC()所属R语言包:DEDS
Computing Fold Change for Differential Expression
计算倍差异表达
译者:生物统计家园网 机器人LoveR
描述----------Description----------
comp.FC returns a function of one argument with bindings for L, is.log and FUN. This function accepts a microarray data matrix as its single argument, when evaluated, computes fold change for each row of the matrix.
comp.FC返回一个参数的函数绑定L,is.log和FUN。这个函数接受评估时,作为单个参数的微阵列数据矩阵,计算矩阵的每一行的倍数变化。
用法----------Usage----------
comp.FC(L = NULL, is.log = TRUE, FUN = mean)
参数----------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之间的整数。
参数:is.log
A logical variable indicating whether the data has been logged.
已记录的数据是否表明一个逻辑变量。
参数:FUN
The summary statistics function used to calculate fold change, the default is set as mean, the user can also use median </table>
汇总统计功能用来计算倍数变化,默认设置为mean,用户也可以使用median</ TABLE>
Details
详情----------Details----------
The function returned by comp.FC calculates fold change for each row of the matrix, given specific class labels. If is.log=TRUE, fold change is calculated by subtraction; if is.log=FALSE, fold change is calculated by division.
comp.FC返回的函数矩阵的每一行计算倍的变化,给出具体的类标签。如果is.log=TRUE,fold change减法计算;如果is.log=FALSE,倍数变化计算按部门。
值----------Value----------
comp.FC returns a function with bindings for L, is.log and FUN, which calculates and returns a vector of fold changes for each row in the data matrix.
comp.FC返回绑定L的功能,is.log和FUN,计算并返回一个数据矩阵中的每一行的fold change的向量。
作者(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.t,comp.F
comp.t,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
f <- comp.FC(L=L)
f.X <- f(X)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|