# NOT RUN {
# generate a random tree
tree = generate_random_tree(list(birth_rate_intercept=1),max_tips=100)$tree
# obtain a string representation of the tree in Newick format
Newick_string = write_tree(tree)
# re-parse tree from string
parsed_tree = read_tree(Newick_string)
# }
Run the code above in your browser using DataLab