| Bioinformatics Toolbox™ | ![]() |
[Value1, Value2,...] =
get(Tree, 'Property1','Property2',...)
get(Tree)
V = get(Tree)
| Tree | Phytree object created with the function phytree. |
| Name | Property name for a phytree object. |
[Value1, Value2,...] = get(Tree, 'Property1','Property2',...) returns the specified properties from a phytree object (Tree).
Properties for a phytree object are listed in the following table.
| Property | Description |
|---|---|
| NumLeaves | Number of leaves |
| NumBranches | Number of branches |
| NumNodes | Number of nodes (NumLeaves + NumBranches) |
| Pointers | Branch to leaf/branch connectivity list |
| Distances | Edge length for every leaf/branch |
| LeafNames | Names of the leaves |
| BranchNames | Names of the branches |
| NodeNames | Names of all the nodes |
get(Tree) displays all property names and their current values for a phytree object (Tree).
V = get(Tree) returns a structure where each field name is the name of a property of a phytree object (Tree) and each field contains the value of that property.
Read in a phylogenetic tree from a file.
tr = phytreeread('pf00002.tree')Get the names of the leaves.
protein_names = get(tr,'LeafNames')
protein_names =
'BAI2_HUMAN/917-1197'
'BAI1_HUMAN/944-1191'
'O00406/622-883'
...Bioinformatics Toolbox™ functions: phytree (object constructor), phytreeread
Bioinformatics Toolbox methods of phytree object: getbyname, select
![]() | get (clustergram) | getancestors (biograph) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |