| Bioinformatics Toolbox™ | ![]() |
Tree = phytreeread(File)
| File | Newick-formatted tree files (ASCII text file). Enter a file name, a path and file name, or a URL pointing to a file. File can also be a MATLAB® character array that contains the text for a file. |
| Tree | phytree object created with the function phytree. |
Tree = phytreeread(File) reads a Newick formatted tree file and returns a phytree object in the MATLAB workspace with data from the file.
The NEWICK tree format can be found at
http://evolution.genetics.washington.edu/phylip/newicktree.html
Note This implementation only allows binary trees. Non-binary trees are translated into a binary tree with extra branches of length 0. |
tr = phytreeread('pf00002.tree')
Bioinformatics Toolbox™ functions: phytree (object constructor), gethmmtree, phytreetool, phytreewrite
![]() | phytree | phytreetool | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |