Main Content

phytreeviewer

Visualize, edit, and explore phylogenetic tree data

Description

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.

example

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.

Examples

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.

phytreeviewer(tr)

Figure Phylogenetic Tree 1 contains an axes object. The axes object contains 72 objects of type line. One or more of the lines displays its values using only markers

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