Main Content


Visualize, edit, and explore phylogenetic tree data



phytreeviewer opens the Phylogenetic Tree app that allows you to view, edit, and explore phylogenetic tree data.

phytreeviewer(Tree) loads a phytree object Tree into the app.

phytreeviewer(File) loads data from a Newick or ClustalW tree formatted file into the app.

Input Arguments

collapse all

Phylogenetic tree, specified as a Phytree object created with the functions phytree or phytreeread.

Newick or ClustalW tree formatted file, specified as a character vector or string containing the file name, a path and file name, or a URL pointing to the file.


collapse all

This example shows how to view a phylogenetic tree.

Load a sample phylogenetic tree.

tr= phytreeread('pf00002.tree')
    Phylogenetic tree object with 33 leaves (32 branches)

View the phylogenetic tree.


Alternatively, you can click Phylogenetic Tree on the Apps tab to open the app, and view the phylogenetic tree object tr.

Version History

Introduced in R2012b