Download mavolcanoplot

Transcript
phytreewrite
Purpose
Write phylogenetic tree object to Newick-formatted file
Syntax
phytreewrite('File', Tree)
phytreewrite(Tree)
Arguments
Description
File
Newick-formatted file. Enter either a file name or a
path and file name supported by your operating system
(ASCII text file).
Tree
Phylogenetic tree object, either created with phytree
(object constructor function) or imported using the
phytreeread function.
phytreewrite('File', Tree) copies the contents of a phytree object
from the MATLAB workspace to a file. Data in the file uses the Newick
format for describing trees.
The Newick tree format can be found at
http://evolution.genetics.washington.edu/phylip/newicktree.html
phytreewrite(Tree) opens the Save Phylogenetic Tree As dialog box for
you to enter or select a file name.
Examples
Read tree data from a Newick-formatted file.
tr = phytreeread('pf00002.tree')
Remove all the mouse proteins
ind = getbyname(tr,'mouse');
tr = prune(tr,ind);
2-568