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

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

[复制链接]
发表于 2012-2-25 21:45:43 | 显示全部楼层 |阅读模式
dplot(hopach)
dplot()所属R语言包:hopach

                                        function to make a pseudo-color image of a distance matrix with the row and column ordering based on HOPACH clustering results.
                                         函数与订购基于HOPACH聚类结果的列和行的距离矩阵的伪彩色图像。

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

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

The hopach clustering function orders the elements being clustered. This ordering can be used to rearrange the rows and columns in the corresponding distance matrix. A pseudo-color image of the ordered distance matrix will reveal the underlying patterns in the clustered data.
hopach聚类功能订单中的元素被聚集。这个顺序可以用来重新安排相应的距离矩阵中的行和列。在聚类的数据将揭示一个有序的距离矩阵的伪彩色图像的基本模式。

The functions 'heat.colors', 'terrain.colors' and 'topo.colors' create heat-spectrum (red to white) and topographical color schemes suitable for displaying ordered data, with 'n' giving the number of colors desired.
功能heat.colors,terrain.colors“和”topo.colors“创建热谱(红色,白色)和地形适合显示有序数据的配色方案,提供所需的颜色数N。


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


dplot(dist, hopachobj, ord = "final", col = heat.colors(12), main = NULL,
xlab = NULL, ylab = NULL, labels = NULL, showclusters = TRUE, ...)



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

参数:dist
matrix of all pair wise distances between a set of 'p' elements,  as produced, for example, by the distancematrix function.  The value in row 'j' and column 'i' is the distance between element 'i' and element 'j'. The matrix must be symmetric. The distance metric should be the same as that used in the hopach function.
矩阵成对一套p的元素,如生产,例如distancematrix函数之间的距离。行“J”和列值我元素i和元素J之间的距离。矩阵必须是对称的。距离度量,应该是作为hopach函数使用的相同。


参数:hopachobj
output of the hopach function.
hopach函数的输出。


参数:ord
character string indicating which of the two orderings produced by hopach should be used for the plot. If ord="final", the ordering of elements in the final level of the hierarchical tree is used. If ord="cluster", the ordering from the level of the tree corresponding to the main clusters is used. In both cases, the elements from each cluster will be contiguous. If ord="final", then the medoid element will appear in the middle of each cluster. Else, the ordering depends on the value of ord passed to the hopach function. If ord="none", then the elements are plotted in the same order as in dist.
字符串hopach两个序应图。如果ORD =“最后”,在最后一级的层次树中的元素的顺序使用。如果ORD =“聚类”,从树对应的主要聚类水平的排序。在这两种情况下,从每个聚类的元素将是连续的。如果ORD =“最后”,然后medoid元素将出现在每个聚类中。否则,顺序取决于价值ordhopach函数传递给。如果ORD =“无”,然后绘制在同一顺序的元素在dist。


参数:col
a list of colors such as that generated by 'rainbow', 'heat.colors', 'topo.colors', 'terrain.colors' or similar functions.
列表中的颜色,如“彩虹”生成“,heat.colors,topo.colors”,“terrain.colors”或类似的功能。


参数:main
character string to be used as the main title
字符串作为主标题使用


参数:xlab
character string to be used as the horizontal axis label. If NULL, the label will be "" (no label).
字符串被用来作为横轴标签。如果为NULL,标签将是“”(无标签)。


参数:ylab
character string to be used as the vertical axis label. If NULL, the label will be "" (no label).
字符串被用来作为垂直轴标签。如果为NULL,标签将是“”(无标签)。


参数:labels
a vector of labels for the elements being clustered to be used on the axes. If labels=NULL, no axes are plotted - this is useful when there are a large number of elements being plotted.
一个正在聚集轴元素的标签的向量。如果标签= NULL,没有轴绘制的 - 这是非常有用的时候也有大量被绘制的元素。


参数:showclusters
indicator of whether or not to show the cluster boundaries on the plot. If show.clusters=TRUE, dotted lines are drawn at the edges of the clusters.
是否在图上显示的聚类边界的指标。如果show.clusters = TRUE,虚线绘制聚类的边缘。


参数:...
additional arguments to the image plotting function
image绘图功能的附加参数


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

Thank you to Sandrine Dudoit <sandrine@stat.berkeley.edu> for her input.
谢谢她的输入的桑德琳Dudoit <sandrine@stat.berkeley.edu>。


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


Katherine S. Pollard &lt;kpollard@gladstone.ucsf.edu&gt; and Mark J. van der Laan &lt;laan@stat.berkeley.edu&gt;



参考文献----------References----------




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

distancematrix, hopach, image
distancematrix,hopach,image


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


mydata<-matrix(rnorm(50),nrow=10)
mydist<-distancematrix(mydata,d="euclid")
clustresult<-hopach(mydata,dmat=mydist)
dplot(mydist,clustresult,showclusters=FALSE)
dplot(mydist,clustresult,col=topo.colors(15))


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 07:09 , Processed in 0.024985 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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