Problem getting tree bipartitions
1
0
Entering edit mode
3.5 years ago

I wanted to get all the bipartitions from a tree: tree image

It should give the following bipartitions:

  1. A,B,C,D,E,F,G,H
  2. A,B,C,D,I,J
  3. E,F,G,H,I,J
  4. A,B,C,D
  5. E,F,G,H
  6. A,B
  7. C,D
  8. E,F
  9. G,H
  10. 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?

R phylogeny tree phylo ape • 707 views
ADD COMMENT
0
Entering edit mode
3.5 years ago
Klaus S ▴ 150

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.

ADD COMMENT

Login before adding your answer.

Traffic: 3180 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6