A phylogenetic tree, containing global info for the phylogeny.
The structure and node-specific data is accessible through the 'root'
clade attached to the Tree instance.
|
|
|
|
|
__init__(self,
root=None,
rooted=True,
id=None,
name=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
format(self,
format)
Serialize the tree as a string in the specified file format. |
source code
|
|
|
|
is_terminal(self)
True if the root of this tree is terminal. |
source code
|
|
|
|
|
|
|
root_with_outgroup(self,
outgroup_targets,
*more_targets,
**kwargs)
Reroot this tree with the outgroup clade containing outgroup_targets. |
source code
|
|
|
Inherited from TreeElement:
__repr__
Inherited from 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__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__
|