read_newick_dictionary¶
-
visualife.data.read_newick_dictionary(newick, if_read_file=False)¶ Reads a tree in the Newick format :param newick: (
string) - a file name or the data itself :param if_read_file: (boolean) - if true, it’s assumed the input is a file nameand the data must be loaded from a file. Otherwise, the string will be parsedReturns: a dictionary of tree nodes