Trees | Indices | Help |
---|
|
object --+ | TreeElement --+ | object --+ | | | TreeMixin --+ | Tree
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.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
|
|||
|
|
|||
clade The first clade in this tree (not itself). |
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Create a new Tree object given a clade. Keyword arguments are the usual Tree constructor parameters. |
|
Convert this tree to a PhyloXML-compatible Phylogeny. This lets you use the additional annotation types PhyloXML defines, and save this information when you write this tree as 'phyloxml'. |
Reroot this tree with the outgroup clade containing outgroup_targets. Operates in-place. Edge cases:
|
Serialize the tree as a string in the specified file format. This method supports the format built-in function added in Python 2.6/3.0.
|
Serialize the tree as a string in the specified file format. This duplicates the __format__ magic method for pre-2.6 Pythons. |
String representation of the entire tree. Serializes each sub-clade recursively using repr to create a summary of the object structure.
|
|
cladeThe first clade in this tree (not itself).
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Aug 20 10:37:32 2011 | http://epydoc.sourceforge.net |