| Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
# You cannot use this module directly; see Bio::Matrix::PSM::SiteMatrix
# for an example implementation
iupac - return IUPAC compliant consensus as a stringNew methods, which might be of interest to anyone who wants to store PSM in a relational
score - Returns the score as a real number
IC - information content. Returns a real number
id - identifier. Returns a string
accession - accession number. Returns a string
next_pos - return the sequence probably for each letter, IUPAC
symbol, IUPAC probability and simple sequence
consenus letter for this position. Rewind at the end. Returns a hash.
pos - current position get/set. Returns an integer.
regexp - construct a regular expression based on IUPAC consensus.
For example AGWV will be [Aa][Gg][AaTt][AaCcGg]
width - site width
get_string - gets the probability vector for a single base as a string.
get_array - gets the probability vector for a single base as an array.
get_logs_array - gets the log-odds vector for a single base as an array.
my $str=$matrix->get_compressed_freq('A');
or my $str=$matrix->get_compressed_logs('A');
Loading from a database should be done with new, but is not yest implemented.my @arr=Bio::Matrix::PSM::_uncompress_string ($str,1,1); for PSMor
my @arr=Bio::Matrix::PSM::_uncompress_string ($str,1000,2); for log odds
| calc_weight | Description | Code |
| next_pos | Description | Code |
| curpos | Description | Code |
| e_val | Description | Code |
| consensus | Description | Code |
| accession_number | Description | Code |
| width | Description | Code |
| IUPAC | Description | Code |
| IC | Description | Code |
| get_string | Description | Code |
| id | Description | Code |
| regexp | Description | Code |
| regexp_array | Description | Code |
| get_array | Description | Code |
| _to_IUPAC | Description | Code |
| _to_cons | Description | Code |
| _calculate_consensus | Description | Code |
| _compress_array | Description | Code |
| _uncompress_string | Description | Code |
| get_compressed_freq | Description | Code |
| get_compressed_logs | Description | Code |
| sequence_match_weight | Description | Code |
| get_all_vectors | Description | Code |
| calc_weight | code | next | Top |
Title : calc_weight |
| next_pos | code | prev | next | Top |
Title : next_pos |
| curpos | code | prev | next | Top |
Title : curpos |
| e_val | code | prev | next | Top |
Title : e_val |
| consensus | code | prev | next | Top |
Title : consensus |
| accession_number | code | prev | next | Top |
Title : accession_number |
| width | code | prev | next | Top |
Title : width |
| IUPAC | code | prev | next | Top |
Title : IUPAC |
| IC | code | prev | next | Top |
Title : IC |
| get_string | code | prev | next | Top |
Title : get_string |
| id | code | prev | next | Top |
Title : id |
| regexp | code | prev | next | Top |
Title : regexp |
| regexp_array | code | prev | next | Top |
Title : regexp_array |
| get_array | code | prev | next | Top |
Title : get_array |
| _to_IUPAC | code | prev | next | Top |
Title : _to_IUPAC |
| _to_cons | code | prev | next | Top |
Title : _to_cons |
| _calculate_consensus | code | prev | next | Top |
Title : _calculate_consensus |
| _compress_array | code | prev | next | Top |
Title : _compress_array |
| _uncompress_string | code | prev | next | Top |
Title : _uncompress_string |
| get_compressed_freq | code | prev | next | Top |
Title : get_compressed_freq |
| get_compressed_logs | code | prev | next | Top |
Title : get_compressed_logs |
| sequence_match_weight | code | prev | next | Top |
Title : sequence_match_weight |
| get_all_vectors | code | prev | next | Top |
Title : get_all_vectors |
| calc_weight | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| next_pos | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| curpos | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| e_val | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| consensus | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| accession_number | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| width | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| IUPAC | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| IC | description | prev | next | Top |
my $self=shift; $self->throw_not_implemented();}
| get_string | description | prev | next | Top |
my $self=shift; $self->throw_not_implemented();}
| id | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| regexp | description | prev | next | Top |
my $self=shift; $self->throw_not_implemented();}
| regexp_array | description | prev | next | Top |
my $self=shift; $self->throw_not_implemented();}
| get_array | description | prev | next | Top |
my $self=shift; $self->throw_not_implemented();}
| _to_IUPAC | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| _to_cons | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| _calculate_consensus | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| _compress_array | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| _uncompress_string | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| get_compressed_freq | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| get_compressed_logs | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| sequence_match_weight | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| get_all_vectors | description | prev | next | Top |
my $self = shift; $self->throw_not_implemented();}
| FEEDBACK | Top |
| Mailing Lists | Top |
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
| Reporting Bugs | Top |
http://bugzilla.open-bio.org/
| AUTHOR - Stefan Kirov | Top |
| APPENDIX | Top |