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

R语言 simone包 plot.simone.network()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:51:35 | 显示全部楼层 |阅读模式
plot.simone.network(simone)
plot.simone.network()所属R语言包:simone

                                        Graphical representation of a network
                                         网络的图形表示

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

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

Displays the network contained in an object of class  simone.network.
显示网络中包含的对象类simone.network。


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


## S3 method for class 'simone.network'
plot(x,
     y    = NULL,



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

参数:x
an object of class simone.network to display.  
一个对象的类simone.network的显示。


参数:y
an optional simone.network object to compare x with.
一个可选的simone.network对象比较x。


参数:type
network display types (see also details) are   
网络显示类型(见还详细介绍)

"circle"displays the network nodes on a circle shape.
"circle"显示一个圆圈状的网络节点上。

"circles"displays the network nodes on circle shapes. The different circles correspond to node classes.  
"circles"显示网络节点圆形状。不同的圈子相对应的节点类。

"cluster"(default) displays network nodes (no underlying shape is used)
"cluster"(默认)显示网络节点(没有基本的形状)

"overlap"display a unique graph in which 2 graphs are overlaid
"overlap"2图形叠加图,其中显示一个独特的

"4graphs"(default) displays the two networks, the intersection and the symmetric difference between the two networks.   
"4graphs"(默认)显示了两个网络,两个网络之间的的交叉和对称差。


参数:last.coord
use last node coordinates if TRUE.
使用最后一个节点坐标,如果TRUE。


参数:...
additionnal parameters
其它附加参数


Details

详细信息----------Details----------

This function plots a graph representation from a simone.network object. When available, the classification vector describing a partition of nodes is represented.
此功能绘制一个表示从simone.network对象。如果有的话,描述一个分区的节点的分类矢量表示。

Different node layouts (see type option) can be chosen to represent networks:  <ol> if a single simone.network object is provided, the available layouts are cluster (the default), circle (nodes are laid on one circle) and circles (nodes are laid on several circles, one circle for a node class);
代表网络的不同节点的布局(type选项),可以选择:<OL>如果simone.network对象提供一个单一的,可用的布局cluster(默认值),circle(节点放在一个圈子)和circles(节点放在几个圈子,一个圆圈节点类);

if two simone.network objects are provide, the available layouts are 4graphs (the default, which displays both networks as well as the intersection and the difference between them) and overlap (which overlay two networks, representing common edges in gray, edges present in the first network in blue and edges present in the second network in red). </ol>
如果两个simone.network对象提供可用的布局4graphs(默认情况下,显示这两个网络以及路口和它们之间的区别)和overlap(覆盖这两个网络,较常见的为灰色边缘,边缘在蓝色和红色)的第二网络中的本边缘存在于所述第一网络。 </ OL>


注意----------Note----------

When comparing two networks, the network with the more numerous edges should be passed as the first argument of plot.simone.network since the node positions for both networks will be computed so as the first graph is as readable as possible.
当比较两个网络,网络越多边缘应该传递的第一个参数plot.simone.network,因为这两个网络的节点位置,从而将计算的第一个图表是尽可能地易读。


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


G. Grasseau



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

plot.simone, simone
plot.simone,simone


实例----------Examples----------


## data set and graph generation[#数据集和图形生成]
lambda  <- 0.125
epsilon <- 0.00125
alpha <- c(1/3,1/3,1/3)

pi.affi <- matrix(epsilon,3,3)
diag(pi.affi) <- lambda

g1 <- rNetwork(p=200, pi=pi.affi, alpha=alpha)
g2 <- coNetwork(g1, delta=10)

plot(g1, type="cluster") # the default[默认的]
plot(g1, type="circle" ) # one circle[一个圆]
plot(g1, type="circles" ) # one circle per cluster[每个聚类的一个圈]
plot(g1, g2, type="4graphs") # the default for multiple inputs[默认情况下,对多个输入]
plot(g1, g2, type="overlap") # comparison of 2 networks on an unique graph[2网络上的一个独特的图形比较]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 20:25 , Processed in 0.026653 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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