Trees | Indices | Help |
---|
|
reportlab.graphics.widgetbase.PropHolder --+ | reportlab.graphics.shapes._DrawTimeResizeable --+ | | | reportlab.graphics.shapes.UserNode --+ | reportlab.graphics.widgetbase.Widget --+ | _ChromosomeComponent --+ | Chromosome
Class for drawing a chromosome of an organism.
This organizes the drawing of a single organisms chromosome. This class can be instantiated directly, but the draw method makes the most sense to be called in the context of an organism.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Initialize a Chromosome for drawing. Arguments: o chromosome_name - The label for the chromosome. Attributes: o start_x_position, end_x_position - The x positions on the page where the chromosome should be drawn. This allows multiple chromosomes to be drawn on a single page. o start_y_position, end_y_position - The y positions on the page where the chromosome should be contained. Configuration Attributes: o title_size - The size of the chromosome title. o scale_num - A number of scale the drawing by. This is useful if you want to draw multiple chromosomes of different sizes at the same scale. If this is not set, then the chromosome drawing will be scaled by the number of segements in the chromosome (so each chromosome will be the exact same final size).
|
Draw a chromosome on the specified template. Ideally, the x_position and y_*_position attributes should be set prior to drawing -- otherwise we're going to have some problems.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Dec 16 11:25:26 2009 | http://epydoc.sourceforge.net |