Apologies if this is a silly question, but how do I write the tree generated by taxize::class2tree to file? I'd like to save the tree in the Newick format if possible.
I can't seem to find a function in the package for this, and I'm not sure what kind of an object classtree is supposed to be (so I'm unsure what non-taxize functions I can use to write its contents out to a file).
Apologies if this is a silly question, but how do I write the tree generated by
taxize::class2tree
to file? I'd like to save the tree in the Newick format if possible.I can't seem to find a function in the package for this, and I'm not sure what kind of an object
classtree
is supposed to be (so I'm unsure what non-taxize
functions I can use to write its contents out to a file).