Bio::NEXUS::MatrixBlock

Bio::NEXUS::MatrixBlock is a Perl module that provides functions for handling blocks that have matrices.
Download

Bio::NEXUS::MatrixBlock Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Thomas Hladish
  • Publisher web site:
  • http://search.cpan.org/~tjhladish/Bio-NEXUS-0.67/lib/Bio/NEXUS/CodonsBlock.pm

Bio::NEXUS::MatrixBlock Tags


Bio::NEXUS::MatrixBlock Description

Bio::NEXUS::MatrixBlock is a Perl module that provides functions for handling blocks that have matrices. Bio::NEXUS::MatrixBlock is a Perl module that provides functions for handling blocks that have matrices.SYNOPSISThis module is the super class of Characters, Unaligned, and Distances block classes, and indirectly it is a super-class of Data and History blocks, which are both sub-classes of Characters blocks. These sub-classes inherint the methods within this module. There is no constructor, as a MatrixBlock should not exist that is not also one of the sub-class block types.Provides functions used for handling blocks that have matrices.METHODSget_ntax Title : get_ntax Usage : $block->get_ntax(); Function: Returns the number of taxa in the block Returns : # taxa Args : noneget_nchar Title : get_nchar Usage : $block->get_nchar(); Function: Returns the number of characters in the block (Note: In Distances Blocks, this is the number of characters used to infer distances.) Returns : # taxa Args : noneset_format Title : set_format Usage : $block->set_format(%format); Function: set the format of the characters Returns : none Args : hash of format valuesget_format Title : get_format Usage : $block->get_format($attribute); Function: Returns the format of the characters Returns : hash of format values, or if $attribute (a string) is supplied, the value of that attribute in the hash Args : noneadd_taxlabels Title : add_taxlabels Usage : $block->add_taxlabels($new_taxlabels); Function: Adds new taxa to taxlabels if they aren't already there Returns : none Args : taxa to be added Requirements: · Perl


Bio::NEXUS::MatrixBlock Related Software