oldCutplot.dendrogram(Heatplus)
oldCutplot.dendrogram()所属R语言包:Heatplus
Plot Subtrees of a Dendrogram in Different Colors
在不同颜色的树状图子树
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plot a dendrogram, cut the tree at a given height, and draw the resulting subtrees in different colors (OLD version, to be deprecated)
画出树状图,剪树,在一个给定的高度,并绘制不同颜色的子树(被废弃的旧版本,)
用法----------Usage----------
oldCutplot.dendrogram(x, h, cluscol, leaflab = "none", horiz = FALSE, lwd = 3, ...)
参数----------Arguments----------
参数:x
a dendrogram.
发生树。
参数:h
the height at which the dendrogram is cut.
高度的树状被切断。
参数:cluscol
the colors used for the subtrees; defaults to rainbow.
子树中使用的颜色;默认rainbow。
参数:leaflab
indicates how leaf labels are to be drawn< defaults to 'perpendicular'.
叶标签指示要制定<默认为“垂直”。
参数:horiz
logical indicating whether to plot the dendrogram horizontally or vertically.
逻辑表明是否绘制水平或垂直的树状图。
参数:lwd
the line width used for the color subtrees.
线宽用于颜色的子树。
参数:...
arguments to plot.dendrogram.
参数plot.dendrogram。
Details
详情----------Details----------
This routine makes use of the functions plot.dendrogram and plotNode in package stats.
这个例程使用功能plot.dendrogram和plotNode包stats。
作者(S)----------Author(s)----------
Alexander Ploner <Alexander.Ploner@ki.se>
参见----------See Also----------
as.dendrogram
as.dendrogram
举例----------Examples----------
data(swiss)
cc = as.dendrogram(hclust(dist(swiss)))
oldCutplot.dendrogram(cc, h=80)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|