Bio::M...atrixI(3pm)
π Bio::Matrix::MatrixI(3pm) π
okay bestie, welcome to Bio::Matrix::MatrixI, a page from the User Contributed Perl Documentation for the Bioperl project. yes it's an interface, yes it's iconic, let's get into it π«Ά
β¨ NAME β¨
Bio::Matrix::MatrixI β an interface for describing a Matrix. that's it, that's the whole vibe π
π SYNOPSIS π
# Get a Matrix object
short, sweet, and honestly kind of mysterious of it π
π¦ DESCRIPTION π¦
so like, this is an interface describing how you should be able to interact with a matrix. you can have a LOT of information in one, I suppose, and this outline lowkey won't really work for PWM or PSSMs. the plan is we'll have to derive a particular interface for those. so this is the general one, the blueprint, the main character, and the fancy ones come later β¨
π FEEDBACK π
Mailing Lists
user feedback is an integral part of the evolution of this and other Bioperl modules β like, genuinely, it's giving community, it's giving we need you. send your comments and suggestions preferably to the Bioperl mailing list, and just know your participation is much appreciated π
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
...rather than to the module maintainer directly, bestie. that way many experienced and reponsive experts will be able look at the problem and quickly address it π and please include a thorough description of the problem with code and data examples if at all possible. the more detail the better, no cap π
Reporting Bugs
report bugs to the Bioperl bug tracking system so we can keep track of the bugs and their resolution β yes, the receipts are being kept π 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 β yes the "at" is doing that on purpose, that's not a typo, that's anti-spam chic π
π APPENDIX π
the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ (iykyk π)
β matrix_id
- Title:
matrix_id - Usage:
my $id = $matrix->matrix_id - Function: get the matrix ID
- Returns: string value
- Args: (none listed)
β matrix_name
- Title:
matrix_name - Usage:
my $name = $matrix->matrix_name(); - Function: get the matrix name
- Returns: string value
- Args: (none listed)
β get_entry
- Title:
get_entry - Usage:
my $entry = $matrix->get_entry($rowname,$columname) - Function: get the entry for a given row,column pair
- Returns: scalar
- Args:
$row name,$column name
β get_column
- Title:
get_column - Usage:
my @row = $matrix->get_column('ALPHA'); - Function: get a particular column
- Returns: Array (in array context) or arrayref (in scalar context) of values
- Args: name of the column
β get_row
- Title:
get_row - Usage:
my @row = $matrix->get_row('ALPHA'); - Function: get a particular row
- Returns: Array (in array context) or arrayref (in scalar context) of values
- Args: name of the row
β get_diagonal
- Title:
get_diagonal - Usage:
my @diagonal = $matrix->get_diagonal; - Function: get the diagonal of the matrix
- Returns: Array (in array context) or arrayref (in scalar context)
- Args: none
β column_num_for_name
- Title:
column_num_for_name - Usage:
my $num = $matrix->column_num_for_name($name) - Function: gets the column number for a particular column name
- Returns: integer
- Args: string
β row_num_for_name
- Title:
row_num_for_name - Usage:
my $num = $matrix->row_num_for_name($name) - Function: gets the row number for a particular row name
- Returns: integer
- Args: string
β num_rows
- Title:
num_rows - Usage:
my $rowcount = $matrix->num_rows; - Function: get the number of rows
- Returns: integer
- Args: none
β num_columns
- Title:
num_columns - Usage:
my $colcount = $matrix->num_columns - Function: get the number of columns
- Returns: integer
- Args: none
β reverse
- Title:
reverse - Usage:
my $matrix = $matrix->reverse - Function: get the reverse of a matrix
- Returns: (blank in the original, bestie β it's giving mystery)
- Args: (blank in the original too)
β row_names
- Title:
row_names - Usage:
my @rows = $matrix->row_names - Function: the names of all the rows
- Returns: array in array context, arrayref in scalar context
- Args: none
β column_names
- Title:
column_names - Usage:
my @columns = $matrix->column_names - Function: the names of all the columns
- Returns: array in array context, arrayref in scalar context
- Args: none
and that's the whole page, no notes. interface understood, matrix described, slay π
okay byeee π¦ this was Bio::M...atrixI(3pm), documented with perl v5.32.1 and dated 2021-08-15 β a whole vintage moment, we love her πβ¨
π¦ where this page comes from
- debian bookworm: libbio-perl-perl 1.7.8-1 Β· Perl
- debian trixie: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu jammy: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu noble: libbio-perl-perl 1.7.8-1 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms