File Exchange

image thumbnail

plotphytree

version 1.0 (21.9 KB) by

PLOTPHYTREE(TREE) renders a phylogenetic tree object into a MATLAB figure as a phylogram.

1 Download

Updated

No License

PLOTPHYTREE(TREE) renders a phylogenetic tree object into a MATLAB figure as a
phylogram with equal angle algorithm.

plotphytree(...,'ROTATION',value) will orient the phylogenetic tree within the figure window. Positive angles cause counterclockwise rotation, otherwise clockwise rotation.

plotphytree(...,'FONTSIZE',value) will set the lable font size.A value specifying the font size to use for text in units determined by the FontUnits property (1 point = 1/72 inch). The default is calculated from the data
according to the number of nodes.

plotphytree(...,'LINESTYLE',value) will set the color of the tree. The default color is blue.

plotphytree(...,'FONTCOLOR',value) will set the color of lable. It is a vector includes [R, G, B] components. Each with the range of 0 to 1. The default setting is [.2 .2 .2].
%
%
% Example:
%
% tr = phytreeread('pf00002.tree');
% plotphytree(tr,'ROTATION',-pi/2, 'FONTSIZE', 8, 'LINESTYLE', 'b', 'FONTCOLOR', [0.2 0.2 0.2]);

This program refered the plot function in Bioinformatics Toolbox of Matlab and phylip program.

Comments and Ratings (1)

je han

MATLAB Release
MATLAB 7.1.0 (R14SP3)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video