
Microarray::DatasetImageMaker - Creates an image from a microarray dataset

Microarray::DatasetImageMaker is a class that accepts a Microarray::Dataset object and produces the images based on the meta data contained in the dataset object. It is meant to separate the image production code into something a little more manageable.

$imageMaker = Microarray::DatasetImageMaker(dataset=>$dataSetObj);
where $dataset is an CdtDataset object class or another concrete Dataset class.

This class should definitely be augmented to make images based on the various tree files

my $imageMaker = Microarray::DatasetImageMaker->new();

returns the suffix for the image type being used for a newly constructed dataset
This method actually results in an image being made.
Usage:
$imageMaker->makeImage('dataset' => $self,
'type' => 'matrix');
$imageMaker->makeImage('dataset' => $self,
'type' => 'header');

returns the dataset object used to initialize the imageMaker, if any
returns contrast used initialize the imageMaker, either belonging to the dataset or other optional argument
returns file base name of the dataset used initialize the imageMaker, either belonging to the dataset or other optional argument
returns image outpath of the dataset used initialize the imageMaker, either belonging to the dataset or other optional argument
returns data outpath of the dataset used initialize the imageMaker, either belonging to the dataset or other optional argument
returns height of the dataset used initialize the imageMaker, either belonging to the dataset or other optional argument
returns width used initialize the imageMaker, either belonging to the dataset or other optional argument
returns colorscheme used initialize the imageMaker, either belonging to the dataset or other optional argument

John C. Matese jcmatese@genome.stanford.edu