Takes a distance matrix, returns a newick tree.

🔙 To the main page of anvi’o programs and artifacts.


Can consume


Can provide



You can send any matrix file to this program to get a dendrogram from it.

An example run would look like this:

anvi-matrix-to-newick TAB_DELIMITED_DATA.txt \ dendrogram

By default, anvi-matrix-to-newick will cluster rows. With the flag --transpose, it will cluster columns.

See here a list of distance metrics you can use, and here a list of linkage methods you can use.

anvi-matrix-to-newick can handle missing data, but in that case the program will not normalize your data and will assume that it is already normalized.

Edit this file to update this information.

Additional Resources

Are you aware of resources that may help users better understand the utility of this program? Please feel free to edit this file on GitHub. If you are not sure how to do that, find the __resources__ tag in this file to see an example.