Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Render a Newick tree as a dendrogram
ResourceFunction["NewickDendrogram"][newickTree] displays a Newick tree as a Dendrogram. | |
ResourceFunction["NewickDendrogram"][newickString] imports a Newick tree from a String and then displays it as a Dendrogram. |
Display a Newick string as a dendrogram:
In[1]:= |
Out[1]= |
Import a Newick tree using the resource function ImportNewickString and render the imported tree as a dendrogram:
In[2]:= |
Out[3]= |
Trees of arbitrary depth are supported:
In[4]:= |
Out[4]= |
If the Newick tree is not connected to a common ancestor node, multiple dendrograms are displayed:
In[5]:= |
Out[5]= |
Quite large trees can be rendered with legible substructure, at the cost of the resulting dendrogram being correspondingly large:
In[6]:= |
Out[6]= |
This work is licensed under a Creative Commons Attribution 4.0 International License