Package Bio :: Package Graphics :: Package GenomeDiagram :: Module _CrossLink :: Class CrossLink
[hide private]
[frames] | no frames]

Class CrossLink

source code

object --+
         |
        CrossLink

Hold information for drawing a cross link between features.
    

Instance Methods [hide private]
 
__init__(self, featureA, featureB, color=Color(.564706,.933333,.564706,1), border=None, flip=False)
Create a new cross link.
source code
 
_trackA(self, tracks) source code
 
_trackB(self, tracks) source code

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

Properties [hide private]
  startA
  endA
  startB
  endB

Inherited from object: __class__

Method Details [hide private]

__init__(self, featureA, featureB, color=Color(.564706,.933333,.564706,1), border=None, flip=False)
(Constructor)

source code 
Create a new cross link.

Arguments featureA and featureB should GenomeDiagram feature objects,
or 3-tuples (track object, start, end), and currently must be on
different tracks.

The color and border arguments should be ReportLab colour objects, or
for border use a boolean False for no border, otherwise it defaults to
the same as the main colour.

The flip argument draws an inverted cross link, useful for showing a
mapping where one sequence has been reversed. It is conventional to
also use a different colour (e.g. red for simple links, blue for any
flipped links).

Overrides: object.__init__

Property Details [hide private]

startA

Get Method:
unreachable.startA(self)

endA

Get Method:
unreachable.endA(self)

startB

Get Method:
unreachable.startB(self)

endB

Get Method:
unreachable.endB(self)