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

R语言 maSigPro包 average.rows()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 00:23:07 | 显示全部楼层 |阅读模式
average.rows(maSigPro)
average.rows()所属R语言包:maSigPro

                                         Average rows by match and index
                                         通过比赛和指数的平均行

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

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

average.rows matches rownames of a matrix to a match vector and performs averaging of the rows by the index provided by an index vector.
average.rows匹配矩阵rownames,match向量和执行由由index向量提供的指数平均行。


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


average.rows(x, index, match, r = 0.7)



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

参数:x
a matrix
矩阵


参数:index
index vector indicating how rows must be averaged  
行必须平均指数向量表示


参数:match
match vector for indexing rows  
匹配索引的行向量


参数:r
minimal correlation value between rows to compute average  
计算平均的行之间的最小相关值


Details

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

rows will be averaged only if the pearson correlation coefficient between all rows of each given index is greater than r. If not, that group of rows is discarded in the result matrix.
行会被平均只有当每个给定的索引中的所有行之间的Pearson相关系数大于r。如果不是,该组的行被丢弃在结果矩阵。


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

a matrix of averaged rows
平均行矩阵


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


Ana Conesa, aconesa@ivia.es



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



## create data matrix for row averaging[#创建一个平均行数据矩阵]
x <- matrix(rnorm(30), nrow = 6,ncol = 5)
rownames(x) <- paste("ID", c(1, 2, 11, 12, 19, 20), sep = "")
i &lt;- paste("g", rep(c(1:10), each = 2), sep = "")  # index vector[索引向量]
m &lt;- paste("ID", c(1:20), sep = "")  # match vector[匹配向量]
average.rows(x, i, m, r = 0)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-4 01:11 , Processed in 0.020411 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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