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.

Treephytree 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

Examples

tr = phytreeread('pf00002.tree')

See Also

Bioinformatics Toolbox™ functions: phytree (object constructor), gethmmtree, phytreetool, phytreewrite

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS