Convert a phylo object to a dendrogram object
Whether the height of the phylogenetic tree should be log-transformed (log10(x + 1)).
The motivation is that phylogenetic tree may contain polytomies, which means at a certain node, there are more than two children branches. Available tools that do the conversion only support binary trees.
dendrogram object is not in its standard format which means it can not be properly
drawn by the
plot.dendrogram function. However, you can still apply dendextend::
cutree to the returned
dendrogram object with no problem and the dendrogram can be properly drawn with the ComplexHeatmap package.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.