Tab2MAGE logo Module detail: Spreadsheet.pm

NAME

ArrayExpress::AutoSubmission::Spreadsheet - A Tab2MAGE/MAGE-TAB document templating class.


SYNOPSIS

 use ArrayExpress::AutoSubmission::Spreadsheet;
 my $ss = ArrayExpress::AutoSubmission::Spreadsheet->new({
     experiment => $expt,
     url        => $self->query()->url(),
     date       => date_now(),
 });
 $ss_content = $spreadsheet->magetab();

DESCRIPTION

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.


METHODS

new

Object constructor, taking the following arguments:

experiment

The Class::DBI experiment object to use in template generation.

url

The URL of the page to which completed templates should be submitted (this is embedded in the template for convenience).

date

The date of template generation.

magetab

Return a string representing the MAGE-TAB template for this experiment.

tab2mage

Return a string representing the Tab2MAGE template for this experiment.


AUTHOR

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.


SourceForge.net Logo