Class: SegFile
Defined Under Namespace
Classes: Segment
Instance Attribute Summary
Attributes inherited from HashTable
Instance Method Summary collapse
-
#initialize(obj = nil, opts = {}) ⇒ SegFile
constructor
A new instance of SegFile.
Methods included from IntervalList
#add_interval, #flatten, #interval_set, #nearest, #overlap, #present
Methods inherited from HashTable
#<<, #[], #concat, #each, #formatted_header, header_off, header_on, #idx, #idx_keys, #inspect, line_class, line_type, #output, #preamble, #sample, #select!, #sort_by!, #sum, #update_index, #use_header?, use_header?, #wrap
Methods included from HashTableAux
Methods included from Printer
Constructor Details
#initialize(obj = nil, opts = {}) ⇒ SegFile
Returns a new instance of SegFile.
6 7 8 9 10 11 12 |
# File 'lib/seg.rb', line 6 def initialize obj=nil, opts={} opts = opts.merge(:header => { :sample_name => :str, :chromosome => :str, :start => :int, :stop => :int, :num_probes => :int, :segment_mean => :float }, :skip_header => :true, :idx => :sample_name) super obj, opts end |