Bio::Gonzales::SummarizedExperiment - represent experimental matrix-like data (assay) with features and sample info
http://bioconductor.org/packages/devel/bioc/vignettes/SummarizedExperiment/inst/doc/SummarizedExperiment.html
my $assay = $se->assay;
Return the assay of the summarized experiment.
my $col_data = $se->col_data; $se->col_data(\@col_data);
my $assay = $se->data;
A alias for assay.
$se = $se->aggregate_by_idcs(\@idcs, sub { ... }, \@col_names)
The callback gets passed the grouping keys, rows and row indices. $_ is set to the group has that comes from the (internally used) $se->group function.
$_
$se->group
sub { my ($key, $rows, $row_idcs) = @_; my $group = $_; }
$se = $se->aggregate_by_names(\@names, sub { ... }, \@col_names)
my $I = $se->col_idx_map; my %I = $se->col_idx_map;
Returns a hash that maps the column names to their column index. col_idx_map is context sensitve and returns a hash in list context and a hash reference in scalar context.
$se->slice_by_idcs(\@idcs); $se->slice_by_idcs([0,5,13]);
Extract a column-"slice" from the summarized experiment. The indices select the columns.
my $se = Bio::Gonzales::SummarizedExperiment->slurp_assay($source, \%params); my $se = Bio::Gonzales::SummarizedExperiment->slurp_assay("data.csv", { header => 1, sep => ';' });
Create a new summarized experiment from matrix/tabular data.
By convention,
constructor or function arguments ending in ? are optional
?
methods ending in ! will modify the object it is called on
!
jw bargsten, <jwb at cpan dot org>
<jwb at cpan dot org>
2 POD Errors
The following errors were encountered while parsing the POD:
Unterminated C< ... > sequence
To install Bio::Gonzales, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Gonzales
CPAN shell
perl -MCPAN -e shell install Bio::Gonzales
For more information on module installation, please visit the detailed CPAN module installation guide.