Microarray::GEO::SOFT::GSM - GEO sample data class
use Microarray::GEO::SOFT: my $soft = Microarray::GEO::SOFT->new; $soft->download("GSE35505"); my $gse = $soft->parse; my $gsm = $gse->list("GSM")->; # the meta information $gsm->meta; $gsm->platform; $gsm->title; $gsm->accession; # the sample data is a matrix (in fact it is a vector) $gsm->matrix; # the names for each column $gsm->colnames; $ the names for each row, it is the primary id for rows $gsm->rownames;
A Sample record describes the conditions under which an individual Sample was handled, the manipulations it underwent, and the abundance measurement of each element derived from it. Each Sample record is assigned a unique and stable GEO accession number (GSMxxx). A Sample entity must reference only one Platform and may be included in multiple Series. (Copyed from GEO web site).
This module retrieves sample information from series data.
new("file" => $file, "verbose" =1, 'sample_value_column' => 'VALUE')>
Initial a GSM class object. The first argument is the path of the sample data in SOFT format or a file handle that has been openned. 'verbose' determines whether print the message when analysis. 'sample_value_column' is the column name for table data when parsing GSM data.
Retrieve sample information. The sample data in SOFT format is alawys a table
Get meta information
Set meta information. Valid argumetns are 'accession', 'title' and 'platform'.
Get table information
Set table information. Valid argumetns are 'rownames', 'colnames', 'colname_explain' and 'matrix'.
Accession number for the platform the sample belong to.
Title of the series record
Accession number for the sample
primary ID for probes
expression value matrix. It is a one column matrix here.
Zuguang Gu <firstname.lastname@example.org>
Copyright 2012 by Zuguang Gu
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.1 or, at your option, any later version of Perl 5 you may have available.