Class | Bio::Graphics::MiniFeature |
In: |
lib/bio/graphics/mini_feature.rb
|
Parent: | Object |
A Bio::Graphics::MiniFeature object represents a single genomic feature (e.g. a gene, transcript, exon, start codon, etc), it is a lightweight object that holds the minimum information needed to do the render.
block_gaps | [RW] | |
end | [RW] | |
exons | [RW] | |
id | [RW] | |
segment_height | [RW] | |
start | [RW] | |
strand | [RW] | |
utrs | [RW] |
Creates a new MiniFeature
mini1 = Bio::Graphics::MiniFeature.new( :start=>3631, :end=>5899, :strand=>'+', :exons=>[4000, 4500, 4700, 5000], :utrs=>[3631, 3650], :segment_height=>5, :id=>"AT1G01010" )
MiniFeatures are created and added to Bio::Graphics::Track objects which will take responsibility for positioning and syling them.#