tree_from_dictionary¶
-
visualife.data.tree_from_dictionary(dict_root, node_class=<class 'visualife.diagrams.TreeNode.DendrogramNode'>)¶ Transforms a tree from a dictionary representation into a “true” tree of
DendrogramNodenodes :param node_dict: (string) - dictionary of nodes, e.g. loaded byread_newick_dictionary()function :param node_class: (class) - useDendrogramNode(which is the default) orMSADendrogramNode:return: a root node of the tree