phytreeread

Read phylogenetic tree files

Syntax

Tree = phytreeread(File)

Arguments

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.

Treephytree object created with the function phytree (phytree).

Description

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.html

Examples

tr = phytreeread('pf00002.tree')

See Also

Bioinformatics Toolbox functions gethmmtree, phytreetool, phytreewrite and the phytree object method phytree (phytree)


© 1994-2005 The MathWorks, Inc.