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

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

[复制链接]
发表于 2012-2-25 20:59:59 | 显示全部楼层 |阅读模式
InitialAlignment(GraphAlignment)
InitialAlignment()所属R语言包:GraphAlignment

                                        Create initial alignment
                                         创建初始对准

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

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

Create a permutation for an initial alignment. Either "random" or "reciprocal" may be specified as the mode argument.
创建一个初始对准排列。模式参数可以被指定为“随机”或“对等”。


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


InitialAlignment(psize, r=NA, mode="random")



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

参数:psize
size of the alignment
大小对齐


参数:r
node similarity score matrix (required for mode 'reciprocal')
节点的相似性得分矩阵(模式“互惠”的要求)


参数:mode
type of initial alignment
类型的初始对准


Details

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

To create a random initial alignment of size psize, the InitialAlignment function can be used with the mode argument set to "random". If mode is set to "reciprocal", a reciprocal best match algorithm is applied to the input matrix R to find an initial alignment. This mode requires that the psize argument is sufficiently large to allow for the addition of dummy nodes to which unaligned nodes can formally be aligned.
要创建一个随机的大小本命令的初始对准中,InitialAlignment功能可以用来与模式参数设置为“随机”。如果模式设置为“对等”,相互最佳匹配算法应用到输入矩阵R,找到一个初始对准。此模式要求,本命令参数足够大,允许除了正式对齐未对齐节点的虚拟节点。


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

The return value is a permutation vector of the specified size.
返回值是一个指定的大小排列向量。


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


Joern P. Meier, Michal Kolar, Ville Mustonen, Michael Laessig, and Johannes Berg



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


  ex<-GenerateExample(dimA=22, dimB=22, filling=.5, covariance=.6,
    symmetric=TRUE, numOrths=10, correlated=seq(1,18))
  
  pinitial<-InitialAlignment(psize=34, r=ex$r, mode="reciprocal")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 17:49 , Processed in 0.039803 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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