- public static NewickFile treeToNewick(TreeModel tree)
- {
- NewickFile newickTree = new NewickFile(tree.getTopNode(),
- tree.hasBootstrap(), tree.hasDistances(),
- tree.hasRootDistance());
- /* System.out.println(newickTree.print(tree.hasBootstrap(),
- tree.hasDistances(), tree.hasRootDistance()));
-
- System.out.println(newickTree.print(newickTree.hasBootstrap(),
- newickTree.hasDistances(), newickTree.hasRootDistance()));*/
-
- return newickTree;