Describes a branch of the current phylogenetic tree.
Used recursively, describes the topology of a phylogenetic tree.
Both 'color' and 'width' elements should be interpreted by client code
as applying to the whole clade, including all descendents, unless
overwritten in-sub clades. This module doesn't automatically assign these
attributes to sub-clades to achieve this cascade -- and neither should
you.
|
|
__init__(self,
branch_length=None,
id_source=None,
name=None,
width=None,
color=None,
node_id=None,
events=None,
binary_characters=None,
date=None,
confidences=None,
taxonomies=None,
sequences=None,
distributions=None,
references=None,
properties=None,
clades=None,
other=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
to_phylogeny(self,
**kwargs)
Create a new phylogeny containing just this clade. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from BaseTree.Clade:
__getitem__,
__iter__,
__len__,
__nonzero__,
__str__,
is_terminal
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 object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|