modifyWeights(limma)
modifyWeights()所属R语言包:limma
modifyWeights
modifyWeights
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Modify weights matrix for given gene status values.
修改特定基因的状态值权重矩阵。
用法----------Usage----------
modifyWeights(weights=rep(1,length(status)), status, values, multipliers)
参数----------Arguments----------
参数:weights
numeric matrix of relative weights, rows corresponding to genes and columns to arrays
相对权重的数值矩阵,行对应的基因和列数组
参数:status
character vector giving the control status of each spot on the array, of same length as the number of rows of weights
特征向量阵列上的每个点的控制状态,作为weights行数相同长度
参数:values
character vector giving subset of the unique values of status
特征向量,子集status独特的价值观
参数:multipliers
numeric vector of same length as values giving factor by which weights will be modified
values给其中的因素的权重将被修改为相同长度的数值向量
Details
详情----------Details----------
The function is usually used to temporarily modify the weights matrix during normalization of data. The function can be used for example to give zero weight to spike-in ratio control spots during normalization.
该功能通常用于临时修改数据标准化过程中的权重矩阵。该功能可用于例如标准化给在穗的比例控制点权重为零。
值----------Value----------
Numeric matrix of same dimensions as weights with rows corresponding to values in status modified by the specified multipliers.
相同尺寸的数字矩阵weights行相应valuesstatus由指定的乘数修改。
作者(S)----------Author(s)----------
Gordon Smyth
参见----------See Also----------
An overview of normalization functions available in LIMMA is given in 05.Normalization.
在05.Normalization标准化的功能,在LIMMA概述。
举例----------Examples----------
w <- matrix(runif(6*3),6,3)
status <- c("Gene","Gene","Ratio_Control","Ratio_Control","Gene","Gene")
modifyWeights(w,status,values="Ratio_Control",multipliers=0)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|