Problem getting tree bipartitions
I wanted to get all the bipartitions from a tree: tree image
It should give the following bipartitions:
- A,B,C,D,E,F,G,H
- A,B,C,D,I,J
- E,F,G,H,I,J
- A,B,C,D
- E,F,G,H
- A,B
- C,D
- E,F
- G,H
- I,J
However, when I did the following:
library('ape')
t = read.tree('((((A,B),(C,D)),((E,F),(G,H))),(I,J));')
prop.part(t)
or
library('ape')
t = read.tree('((((A,B),(C,D)),((E,F),(G,H))),(I,J));')
subtrees(t)
they only gave me the bipartitions 1,4-10, without 2 and 3.
What is the problem here?
• 1,184 views
•
link
1 answer
Hello,
prop.part() splits the set of labels (taxa) into two non-empty subsets, e.g.
A,B,C,D,I,J | E,F,G,H
or
A,B,C,D | E,F,G,H,I,J
In your list 2. and 5. (3. and 4.) refer to the same partition.
• 0 views
•
link
Log in to answer this question.