Package Bio :: Package Phylo :: Module CDAO :: Class Clade
[hide private]
[frames] | no frames]

Class Clade

source code

          object --+        
                   |        
BaseTree.TreeElement --+    
                       |    
          object --+   |    
                   |   |    
  BaseTree.TreeMixin --+    
                       |    
          BaseTree.Clade --+
                           |
                          Clade

CDAO Clade (sub-tree) object.
Instance Methods [hide private]
 
__init__(self, branch_length=1.0, name=None, clades=None, confidence=None, comment=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from BaseTree.Clade: __bool__, __getitem__, __iter__, __len__, __nonzero__, __str__, is_terminal

Inherited from BaseTree.Clade (private): _get_color, _set_color

Inherited from BaseTree.TreeElement: __repr__

Inherited from BaseTree.TreeMixin: collapse, collapse_all, common_ancestor, count_terminals, depths, distance, find_any, find_clades, find_elements, get_nonterminals, get_path, get_terminals, is_bifurcating, is_monophyletic, is_parent_of, is_preterminal, ladderize, prune, split, total_branch_length, trace

Inherited from BaseTree.TreeMixin (private): _filter_search

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from BaseTree.Clade: color, root

Inherited from object: __class__

Method Details [hide private]

__init__(self, branch_length=1.0, name=None, clades=None, confidence=None, comment=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • branch_length - The length of the branch leading to the root node of this clade.
  • name - The clade's name (a label).
  • clades - Sub-trees rooted directly under this tree's root.
  • confidence - Support.
  • color - The display color of the branch and descendents.
  • width - The display width of the branch and descendents.
Overrides: object.__init__
(inherited documentation)