ArrayExpress::AutoSubmission::Spreadsheet - A Tab2MAGE/MAGE-TAB document templating class.
use ArrayExpress::AutoSubmission::Spreadsheet;
my $ss = ArrayExpress::AutoSubmission::Spreadsheet->new({
experiment => $expt,
url => $self->query()->url(),
date => date_now(),
});
$ss_content = $spreadsheet->magetab();
This module provides Tab2MAGE and MAGE-TAB document templating functions. The functions take Class::DBI experiment objects from the tracking database and generate the appropriate output strings which can then be printed to file.
newObject constructor, taking the following arguments:
experimentThe Class::DBI experiment object to use in template generation.
urlThe URL of the page to which completed templates should be submitted (this is embedded in the template for convenience).
dateThe date of template generation.
magetabReturn a string representing the MAGE-TAB template for this experiment.
tab2mageReturn a string representing the Tab2MAGE template for this experiment.
Tim Rayner (rayner@ebi.ac.uk), ArrayExpress team, EBI, 2008.
Acknowledgements go to the ArrayExpress curation team for feature requests, bug reports and other valuable comments.