view (phytree)

View phylogenetic tree

Syntax

view(Tree)
view(Tree, IntNodes)

Arguments

Tree

phytree object created with phytree (phytree).

IntNodes

Nodes from the phytree object to initially display in the Tree.

Description

view(Tree) opens the Phylogenetic Tree Tool window and draws a tree from data in a phytree object (Tree). The significant distances between branches and nodes are in the horizontal direction. Vertical distances have no significance and are selected only for display purposes. You can access tools to edit and analyze the tree from the Phylogenetic Tree Tool menu bar or by using the left and right mouse buttons.

view(Tree, IntNodes) opens the Phylogenetic Tree Tool window with an initial selection of nodes specified by IntNodes. IntNodes can be a logical array of any of the following sizes: NumLeaves + NumBranches x 1, NumLeaves x 1, or NumBranches x 1. IntNodes can also be a list of indices.

Example

tr = phytreeread('pf00002.tree')
view(tree) 

See Also

Bioinformatics Toolbox functions phytreeread, phytreetool, seqlinkage

phytree object methods phytree (phytree), plot (phytree)


© 1994-2005 The MathWorks, Inc.