Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
WebCvs | Raw content |
See Bio::Graphics::Panel and Bio::Graphics::Glyph.
make_key_feature | No description | Code |
make_key_feature | description | prev | next | Top |
my $self = shift; my $scale = 1/$self->scale; # base pairs/pixel # two segments, at pixels 0->50, 60->80}
my $offset = $self->panel->offset; my $feature = Bio::Graphics::Feature->new( -segments=>[ [ 0*$scale +$offset,50*$scale+$offset], [60*$scale+$offset, 80*$scale+$offset] ], -name => $self->option('key'), -strand => '+1', ); } 1; __END__
BUGS | Top |
SEE ALSO | Top |
AUTHOR | Top |