| Bioinformatics Toolbox | ![]() |
Read phylogenetic tree files
Tree = phytreeread(File)
File | Newick formatted tree files (ASCII text file). Enter a filename, a path and filename, 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 (phytree). |
Tree = phytreeread(Filename) 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.htmlNote 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 gethmmtree, phytreetool, phytreewrite and the phytree object method phytree (phytree)
| phytree (phytree) | phytreetool | ![]() |
© 1994-2005 The MathWorks, Inc.