Package Bio :: Package Phylo :: Module PhyloXML :: Class Events
[hide private]
[frames] | no frames]

Class Events

source code

          object --+        
                   |        
BaseTree.TreeElement --+    
                       |    
            PhyloElement --+
                           |
                          Events

Events at the root node of a clade (e.g. one gene duplication).

All attributes are set to None by default, but this object can also be treated as a dictionary, in which case None values are treated as missing keys and deleting a key resets that attribute's value back to None.

Instance Methods [hide private]
 
__init__(self, type=None, duplications=None, speciations=None, losses=None, confidence=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
items(self) source code
 
keys(self) source code
 
values(self) source code
 
__len__(self) source code
 
__getitem__(self, key) source code
 
__setitem__(self, key, val) source code
 
__delitem__(self, key) source code
 
__iter__(self) source code
 
__contains__(self, key) source code

Inherited from BaseTree.TreeElement: __repr__, __str__

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

Class Variables [hide private]
  ok_type = set(['fusion', 'mixed', 'other', 'speciation_or_dupl...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, type=None, duplications=None, speciations=None, losses=None, confidence=None)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

ok_type

Value:
set(['fusion',
     'mixed',
     'other',
     'speciation_or_duplication',
     'transfer',
     'unassigned'])