Documentation

phytreeviewer

Visualize, edit, and explore phylogenetic tree data

Syntax

Description

example

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

expand all

Tree — Phylogenetic treePhytree object

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

File — Newick or ClustalW tree formatted file string

Newick or ClustalW tree formatted file, specified as a string containing the file name, a path, a URL or a MATLAB® character array that contains the text for a Newick file.

Examples

expand all

View a Phylogenetic Tree

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)

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

Was this topic helpful?