Users continue to attempt to input trees with singleton nodes.
R can read these by:
using package(phytools) read.newick,
followed by collapse.singles,
then write.tree to get a plain newick tree
a check for is.binary.tree, followed by multi2di() is a related issue
Users continue to attempt to input trees with singleton nodes. R can read these by: using package(phytools) read.newick, followed by collapse.singles, then write.tree to get a plain newick tree
a check for is.binary.tree, followed by multi2di() is a related issue