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

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

[复制链接]
发表于 2012-2-25 23:10:47 | 显示全部楼层 |阅读模式
asMatrixWeights(limma)
asMatrixWeights()所属R语言包:limma

                                        asMatrixWeights
                                         asMatrixWeights

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

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

Convert probe-weights or array-weights to a matrix of weights.
探测器的重量或阵列的重量转换到权重矩阵。


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


asMatrixWeights(weights, dim)



参数----------Arguments----------

参数:weights
numeric matrix of weights, rows corresponding to probes and columns to arrays. Or vector of probe weights. Or vector of array weights.
数字矩阵的权重,行相应的探针和列阵列。或探针权的向量。或数组重量的向量。


参数:dim
numeric dimension vector of length 2, i.e., the number of probes and the number of arrays.
数字维向量长度为2,即探针的数量和阵列数量。


Details

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

This function converts a vector or probe-weights or a vector of array-weights to a matrix of the correct size. Probe-weights are repeated across rows while array-weights are repeated down the columns. If weights has length equal to the number of probes, it is assumed to contain probe-weights. If it has length equal to the number of arrays, it is assumed to contain array-weights. If the number of probes is equal to the number of arrays, then weights is assumed to contain array-weights if it is a row-vector of the correct size, i.e., if it is a matrix with one row.
此功能转换矢量或探针权重,以正确的大小的矩阵或阵列权重向量。探针重量重复整个行,而阵列的重量重复列。如果weights长度相等的探针,它被假定为包含探针重量。如果它的长度等于阵列,它是假设包含阵列的重量。如果探针的数量是等于阵列人数,然后weights假设包含阵列的重量,如果它是一个正确的大小,即行向量,如果它是一列的矩阵。

This function is used internally by the linear model fitting functions in limma.
这个函数内部使用线性模型拟合函数limma。


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

Numeric matrix of dimension dim.
数字矩阵维dim。


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


Gordon Smyth



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

modifyWeights.
modifyWeights。

An overview of functions in LIMMA used for fitting linear models is given in 06.LinearModels.
概述LIMMA功能用于线性模型拟合在06.LinearModels给出。


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


asMatrixWeights(1:3,c(4,3))
asMatrixWeights(1:4,c(4,3))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-6 04:08 , Processed in 0.022102 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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