Trees | Index | Help |
---|
Package Bio :: Package Graphics :: Module BasicChromosome :: Class Organism |
|
PropHolder
--+ |_DrawTimeResizeable
--+ | | |UserNode
--+ |Widget
--+ |_ChromosomeComponent
--+ | Organism
Top level class for drawing chromosomes.
This class holds information about an organism and all of it's chromosomes, and provides the top level object which could be used for drawing a chromosome representation of an organism.
Chromosomes should be added and removed from the Organism via the add and remove functions.Method Summary | |
---|---|
Initialize a chromosome component. | |
Draw out the information for the Organism. | |
Inherited from Widget | |
| |
Return outer boundary as x1,y1,x2,y2. | |
Override this to create your own node. | |
Inherited from PropHolder | |
By default we verify. | |
Convenience. | |
Returns a list of all properties which can be edited and which are not marked as private. | |
Permits bulk setting of properties. | |
If the _attrMap attribute is not None, this checks all expected attributes are present; no unwanted attributes are present; and (if a checking function is found) checks each attribute has a valid value. |
Class Variable Summary | |
---|---|
list |
VALID_FORMATS = ['pdf', 'eps']
|
Method Details |
---|
__init__(self,
output_format='pdf')
|
draw(self, output_file, title)Draw out the information for the Organism. Arguments: o output_file -- The name of a file specifying where the pdf document drawn should be saved. o title -- The output title of the produced document. |
Class Variable Details |
---|
VALID_FORMATS
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Jan 31 09:58:01 2007 | http://epydoc.sf.net |