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

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

[复制链接]
发表于 2012-2-25 12:14:02 | 显示全部楼层 |阅读模式
designMatrix(ArrayTools)
designMatrix()所属R语言包:ArrayTools

                                        Class to Contain the Design Matrix that Used for Linear Regression
                                         设计矩阵,线性回归使用类来包含

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

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

Class to Contain the Design Matrix that Used for Linear Regression
设计矩阵,线性回归使用类来包含


创建对象----------Creating Objects----------

new("designMatrix", ..., target, covariates, intIndex=0)
new("designMatrix", ..., target, covariates, intIndex=0)

This create as design matrix class.  target is a data frame that contains chip and covaraite information, or experimental phenotypes  recorded in eSet and ExpressionSet-derived classes.  covariates is a list of 1-n covariates.  If intIndex=0, the interaction effect  is not considered; otherwise, use two integers to indicate which  covariates are considered for interaction effect. For example,  if covariates <- c("estrogen","drug","time") and you are considering  the interaction between "estrogen" and "time", then you would write  intIndex=c(1,3)
此设计创建矩阵类。 target是一个数据框包含芯片和covaraite信息,或在ESET和ExpressionSet派生类中记录的实验表型。 covariates是1-N协变量的列表。如果intIndex=0,互动效应不考虑,否则,使用两个整数来表示协变量交互效应考虑的。例如,如果covariates <- c("estrogen","drug","time")和你正在考虑的“雌激素”和“时间”之间的相互作用,那么你会写intIndex=c(1,3)


插槽----------Slots----------




design: contains the design matrix
design:包含设计矩阵




target: contains the target data
target:target数据




covariates: contains the covariates
covariates:包含covariates




intIndex: contains the intIndex
intIndex:包含intIndex


方法----------Methods----------




getCovariates signature(object = "designMatrix"):
getCovariatessignature(object = "designMatrix"):




getDesign signature(object = "designMatrix"):  
getDesignsignature(object = "designMatrix"):




getIntIndex signature(object = "designMatrix"):  
getIntIndexsignature(object = "designMatrix"):




getTarget signature(object = "designMatrix"):  
getTargetsignature(object = "designMatrix"):




initialize signature(.Object = "designMatrix"):  
初始化signature(.Object = "designMatrix"):




show signature(object = "designMatrix"):  
显示signature(object = "designMatrix"):


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


Xiwei Wu, Arthur Li



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

contrastMatrix
contrastMatrix


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


data(eSetExample)
## One-way Anova[#单向方差分析]
(design1<- new("designMatrix", target=pData(eSetExample), covariates = "Treatment"))

## Randomized block design[#随机区组设计]
(design2<- new("designMatrix", target=pData(eSetExample),
   covariates = c("Treatment", "Group")))

## Interaction design[#互动设计]
(design3<- new("designMatrix", target=pData(eSetExample),
   covariates = c("Treatment", "Group"), intIndex=c(1,2)))
   

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-24 01:25 , Processed in 0.026167 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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