Class: Circos::Band

Inherits:
Hash show all
Defined in:
lib/feldtruby/visualization/circos.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



19
20
21
# File 'lib/feldtruby/visualization/circos.rb', line 19

def name
  @name
end

Instance Method Details

#dump_to_circos_data(keyOrder = nil) ⇒ Object



20
21
22
23
# File 'lib/feldtruby/visualization/circos.rb', line 20

def dump_to_circos_data(keyOrder = nil)
	keyOrder ||= self.keys.sort
	(name + keyOrder.map {|key| self[key]}).join(" ")
end