This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


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 containing the file name, a path, a URL or a MATLAB® character array that contains the text for a Newick 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 .

Introduced in R2012b

Was this topic helpful?