The name 'NodeNames' is not an accessible property for an instance of class 'figure'.

2 views (last 30 days)
I am just trying to visualize a phylogeny tree and I am getting the following error
_Error using hg.figure/get The name 'NodeNames' is not an accessible property for an instance of class 'figure'.
Error in ancestor (line 5) node_id = cell2mat(get(tree, 'NodeNames'));
Error in pan>locSetState (line 232) fig = ancestor(target,'figure');
Error in pan (line 199) locSetState(arg1,arg2);
Error in toolsmenufcn>localUpdatePanMenu (line 419) pan(hfig,option);
Error in toolsmenufcn>localUpdateOptions (line 372) localUpdatePanMenu(hfig,'y');
Error in toolsmenufcn (line 142) localUpdateOptions(hfig,'PanY');
Error in phytree/view (line 174) toolsmenufcn(fig,'PanY') % set zoom mode to vertical constraining
Error in phytreeviewer (line 97) view(tr);_
the original code I am using is
tree_newick = '(A:4,(B:3,(C:1.2, D:1.5)F:1)E:2.5)O:0'; mytree = phytreeread(tree_newick); phytreeviewer(mytree)
and my matlab version is 8.0.0.783 (R2012b) Operating System: Linux 3.13.0-35-generic #62~precise1-Ubuntu SMP Mon Aug 18 14:52:04 UTC 2014 x86_64 Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode
Bioinformatics Toolbox Version 4.2 (R2012b)
I already have tried, "phytreeviewer", "plot", "view" and all return this error. Thank you
  2 Comments
Arthur Goldsipe
Arthur Goldsipe on 5 Sep 2014
Hi,
I don't think you've provided enough information for the community to help you. Can you add more information on how to reproduce this problem? What version of MATLAB are you using? Can you share the data?
-Arthur

Sign in to comment.

Answers (0)

Categories

Find more on Bioinformatics Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!