i need modify cluster methods of phytree object in matlab. after modifying it, change name cluster_second. then, when run function, got error saying
access object's fields permitted within methods.
i understand going on here. because need use tr.tree, , field of phytree object can accessed within phytree object's method. obviously, cluster_second not satisfy condition. can me out this? many thanks.
if want cluster_second
method method of phytree
, put file cluster_second.m
directory \toolbox\bioinfo\bioinfo\@phytree
. phytree
objects have additional method cluster_second
(as original cluster
method).
it's possible may able put different folder named @phytree
, long @phytree
folder on path. i'm afraid don't have bioinformatics toolbox on current machine test that, though.