| Bioinformatics Toolbox | ![]() |
Get information about a phylogenetic tree object
[Value1,Value2, ...] = GET(Tree,
'Name1', 'Name2', ...)
| Tree | Phytree object created with the function phytree (phytree). |
| Name | Property name for a phytree object. |
[Value1,Value2, ...] = GET(Tree, 'Name1', 'Name2', ...) returns the specified properties from a phytree object (Tree).
The valid choices for 'Name' are
| 'Pointers' | Branch to leaf/branch connectivity list |
| 'Distances' | Edge length for every leaf/branch |
| 'NumLeaves' | Number of leaves |
| 'NumBranches' | Number of branches |
| 'NumNodes' | Number of nodes (NumLeaves + Numbranches) |
| 'LeafNames' | Names of the leaves |
| 'BranchNames' | Names of the branches |
| 'NodeNames' | Names of all the nodes |
tr = phytreeread('pf00002.tree')
protein_names = get(tr,'LeafNames')
Bioinformatics Toolbox functions phytree (phytree), phytreeread, and phytree object method select (phytree)
| geosoftread | getancestors (biograph) | ![]() |
© 1994-2005 The MathWorks, Inc.