【发布时间】:2015-02-05 15:21:23
【问题描述】:
我可以使用 hclust 类绘制树状图,但是当我尝试将其转换为 ape 包中的 as.phylo 时,它给了我绘图的错误
plot.window(...) 中的错误:需要有限的“xlim”值
知道什么会导致问题吗?
谢谢,
mymerge<-Merg_Mat
myheight<-cumsum(abs(diff(ll)))
myhclust=list(order=lab,merge=mymerge,height=myheight)
class(myhclust)="hclust"
plot(as.phylo(myhclust),edge.col=colors,edge.width = 2, edge.lty =1,font=1)
【问题讨论】:
标签: r