I am trying to make a dendrpgram using large data
I am using the stats, phyclust libraries,
distances <- phyclust.edist(Data[,],edist.model = .edist.model[3])
dataHClust <- hclust(distances, "ave")
dhc <- as.dendrogram(dataHClust)
hclust
works fine and I can plot it and it plots it properly.
After I use the as.dendrogram
function it doesn't give me an error. But when I either:
- try to plot it
- use
dendrapply
to apply functions.
it says:
Error in lapply(args, is.character) : node stack overflow
Error in dev.flush() : node stack overflow
Is the problem with as.dendrogram not being able to handle large datasets (~30000)? If so, is there an alternative to it?