multifurcating nodes

33 views
Skip to first unread message

daniel...@gladstone.ucsf.edu

unread,
Mar 28, 2018, 6:42:37 PM3/28/18
to phylogram
Hi,

Does the dendrogram class accept trees/graphs that are not binary?

That is, does it allow nodes to have more than two child nodes?

I realize this is a general R dendrogram question and not specific to phylogram.

Thanks in advance for your help!
Dan.

Shaun Wilkinson

unread,
Mar 28, 2018, 7:04:26 PM3/28/18
to phylogram
Hi Dan,
Yes, dendrograms can have multifuricating nodes; these objects are just lists of lists (with additional attributes), which can theoretically be any length you like.
For example the Newick string (A:0.1,B:0.2,(C:0.3,D:0.4):0.5); has three nodes at the first level.
Hope that helps, and please let me know if you have any more questions!
Cheers,
Shaun

daniel...@gladstone.ucsf.edu

unread,
Mar 28, 2018, 7:05:00 PM3/28/18
to phylogram
Nevermind. I just checked and it does allow it.
Reply all
Reply to author
Forward
0 new messages