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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|