jebl.evolution.trees
Class MRCACConsensusTreeBuilder

java.lang.Object
  extended by jebl.evolution.trees.ConsensusTreeBuilder<RootedTree>
      extended by jebl.evolution.trees.MRCACConsensusTreeBuilder
All Implemented Interfaces:
TreeBuilder<RootedTree>

public class MRCACConsensusTreeBuilder
extends ConsensusTreeBuilder<RootedTree>

Construct a consensus tree for a set of rooted trees. The construction is done via clustering. For any two clusters/clades, their distance is the height of their most recent common ancesstor (computed as an average over all trees). This seem natural as it connectes clades in reverse time order.

Author:
Joseph Heled

Nested Class Summary
 
Nested classes/interfaces inherited from class jebl.evolution.trees.ConsensusTreeBuilder
ConsensusTreeBuilder.Method
 
Field Summary
 
Fields inherited from class jebl.evolution.trees.ConsensusTreeBuilder
DEFAULT_SUPPORT_ATTRIBUTE_NAME, nExternalNodes, taxons
 
Constructor Summary
MRCACConsensusTreeBuilder(Tree[] trees, double supportThreshold)
           
MRCACConsensusTreeBuilder(Tree[] trees, double supportThreshold, String supportAttributeName, boolean asPercent)
           
 
Method Summary
 RootedTree build()
           
 
Methods inherited from class jebl.evolution.trees.ConsensusTreeBuilder
addProgressListener, fireSetProgress, getSupportAttributeName, isSupportAsPercent, removeProgressListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MRCACConsensusTreeBuilder

public MRCACConsensusTreeBuilder(Tree[] trees,
                                 double supportThreshold)

MRCACConsensusTreeBuilder

public MRCACConsensusTreeBuilder(Tree[] trees,
                                 double supportThreshold,
                                 String supportAttributeName,
                                 boolean asPercent)
Method Detail

build

public RootedTree build()