Entering edit mode
3.5 years ago
chaperoneline
▴
10
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?