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, #initialize, #to_xml

Methods included from Mapper

#properties

Constructor Details

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

Instance Method Details

#create_row(options = {}) ⇒ Object



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