Class: Bio::NeXML::SeqMatrix

Inherits:
Matrix
  • Object
show all
Defined in:
lib/bio/db/nexml/matrix.rb

Instance Attribute Summary

Attributes inherited from Matrix

#id

Instance Method Summary (collapse)

Methods inherited from Matrix

#add_row, #delete_row, #each_row, #get_row_by_id, #has_row?, #has_rows?, #initialize, #number_of_rows, #rows, #rows=, #to_xml

Methods included from Mapper

#properties

Constructor Details

This class inherits a constructor from Bio::NeXML::Matrix

Instance Method Details

- (Object) create_row(options = {})



629
630
631
632
633
# File 'lib/bio/db/nexml/matrix.rb', line 629

def create_row( options = {} )
  row = SeqRow.new( Bio::NeXML.generate_id( SeqRow ), options )
  add_row row
  row        
end