
Bio::Phylo::Matrices::Datatype::Mixed - Datatype subclass, no serviceable parts inside

The Bio::Phylo::Matrices::Datatype::* classes are used to validate data contained by Bio::Phylo::Matrices::Matrix and Bio::Phylo::Matrices::Datum objects.

Sets the symbol for missing data.
Type : Mutator
Title : set_missing
Usage : $obj->set_missing('?');
Function: Sets the symbol for missing data
Returns : Modified object.
Args : Argument must be a single
character, default is '?'
Sets the symbol for gaps.
Type : Mutator
Title : set_gap
Usage : $obj->set_gap('-');
Function: Sets the symbol for gaps
Returns : Modified object.
Args : Argument must be a single
character, default is '-'
Returns the object's missing data symbol.
Type : Accessor Title : get_missing Usage : my $missing = $obj->get_missing; Function: Returns the object's missing data symbol Returns : A string Args : None
Returns the object's gap symbol.
Type : Accessor Title : get_gap Usage : my $gap = $obj->get_gap; Function: Returns the object's gap symbol Returns : A string Args : None
Returns the object's datatype as string.
Type : Accessor Title : get_type Usage : my $type = $obj->get_type; Function: Returns the object's datatype Returns : A string Args : None
Returns type object for site number.
Type : Accessor Title : get_type_for_site Usage : my $type = $obj->get_type_for_site(1); Function: Returns data type object for site Returns : A Bio::Phylo::Matrices::Datatype object Args : None
Compares data type objects.
Type : Test
Title : is_same
Usage : if ( $obj->is_same($obj1) ) {
# do something
}
Function: Returns true if $obj1 contains the same validation rules
Returns : BOOLEAN
Args : A Bio::Phylo::Matrices::Datatype::* object
Returns true if argument only contains valid characters
Type : Test
Title : is_valid
Usage : if ( $obj->is_valid($datum) ) {
# do something
}
Function: Returns true if $datum only contains valid characters
Returns : BOOLEAN
Args : A Bio::Phylo::Matrices::Datum object

This object inherits from Bio::Phylo::Matrices::Datatype, so the methods defined therein are also applicable to Bio::Phylo::Matrices::Datatype::Mixed objects.
Also see the manual: Bio::Phylo::Manual.

$Id: Mixed.pm 4265 2007-07-20 14:14:44Z rvosa $