phytreeread - Read phylogenetic tree file
Syntax
Tree = phytreeread(File)
Arguments
| 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. |
Description
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 allows only binary trees. Non-binary trees
are translated into a binary tree with extra branches of length 0. |
Examples
tr = phytreeread('pf00002.tree')See Also
Bioinformatics Toolbox functions: phytree (object
constructor), gethmmtree, phytreetool, phytreewrite
 | phytree | | phytreetool |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit