NAME
Bio::Matrix::MatrixI - An interface for describing a Matrix
SYNOPSIS
# Get a Matrix object
DESCRIPTION
This is an interface describing how one should be able to interact with a matrix. One can have a lot of information I suppose and this outline won't really work for PWM or PSSMs. We will have to derive a particular interface for those.
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated.
[email protected] - General discussionhttp://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via email or the web:
https://github.com/bioperl/bioperl-live/issues
AUTHOR - Jason Stajich
Email jason-at-bioperl.org
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
matrix_id
Title : matrix_idUsage : my $id = $matrix->matrix_idFunction: Get the matrix IDReturns : string valueArgs :
matrix_name
Title : matrix_nameUsage : my $name = $matrix->matrix_name();Function: Get the matrix nameReturns : string valueArgs :
get_entry
Title : get_entryUsage : my $entry = $matrix->get_entry($rowname,$columname)Function: Get the entry for a given row,column pairReturns : scalarArgs : $row name$column name
get_column
Title : get_columnUsage : my @row = $matrix->get_column('ALPHA');Function: Get a particular columnReturns : Array (in array context) or arrayref (in scalar context)of valuesArgs : name of the column
get_row
Title : get_rowUsage : my @row = $matrix->get_row('ALPHA');Function: Get a particular rowReturns : Array (in array context) or arrayref (in scalar context)of valuesArgs : name of the row
get_diagonal
Title : get_diagonalUsage : my @diagonal = $matrix->get_diagonal;Function: Get the diagonal of the matrixReturns : Array (in array context) or arrayref (in scalar context)Args : none
column_num_for_name
Title : column_num_for_nameUsage : my $num = $matrix->column_num_for_name($name)Function: Gets the column number for a particular column nameReturns : integerArgs : string
row_num_for_name
Title : row_num_for_nameUsage : my $num = $matrix->row_num_for_name($name)Function: Gets the row number for a particular row nameReturns : integerArgs : string
num_rows
Title : num_rowsUsage : my $rowcount = $matrix->num_rows;Function: Get the number of rowsReturns : integerArgs : none
num_columns
Title : num_columnsUsage : my $colcount = $matrix->num_columnsFunction: Get the number of columnsReturns : integerArgs : none
reverse
Title : reverseUsage : my $matrix = $matrix->reverseFunction: Get the reverse of a matrixReturns :Args :
row_names
Title : row_namesUsage : my @rows = $matrix->row_namesFunction: The names of all the rowsReturns : array in array context, arrayref in scalar contextArgs : none
column_names
Title : column_namesUsage : my @columns = $matrix->column_namesFunction: The names of all the columnsReturns : array in array context, arrayref in scalar contextArgs : none