in reply to Bio::Graphics - Howto Enable Neg Start-End, Connector, Create Legend
This next statement adds the arrow track to the panel, the relative coords needs to be set to true and the relative coords offset is set to the minimum value you want represented on arrow track (in this example it is -300).my $full_length = Bio::SeqFeature::Generic->new( -start => 1, -end => 300 ); my $panel = Bio::Graphics::Panel->new( -length => $length, -width => 1000, -pad_left => 10, -pad_right => 10, );
Hope that helps someone,$panel->add_track($full_length, -glyph => 'arrow', -tick => 2, -fgcolor => 'black', -double => 1, -relative_coords => 1, -relative_coords_offset => -300 );
|
|---|