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].
% 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.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.