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


Microarray-GeneXplorer documentation  | view source Contained in the Microarray-GeneXplorer distribution.

Index


Name

Top

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

Abstract

Top

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.

Usage

Top

  $imageMaker = Microarray::DatasetImageMaker(dataset=>$dataSetObj);

where $dataset is an CdtDataset object class or another concrete Dataset class.

Future Plans

Top

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

Instance Constructor

Top

new

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

Instance Methods

Top

imageType

returns the suffix for the image type being used for a newly constructed dataset

makeImage

This method actually results in an image being made.

Usage:

    $imageMaker->makeImage('dataset' => $self,
			   'type'    => 'matrix');
    $imageMaker->makeImage('dataset' => $self,
			   'type'    => 'header'); 

Protected Methods

Top

_dataset

returns the dataset object used to initialize the imageMaker, if any

_contrast

returns contrast used initialize the imageMaker, either belonging to the dataset or other optional argument

_name

returns file base name of the dataset used initialize the imageMaker, either belonging to the dataset or other optional argument

_imagePath

returns image outpath of the dataset used initialize the imageMaker, either belonging to the dataset or other optional argument

_dataPath

returns data outpath of the dataset used initialize the imageMaker, either belonging to the dataset or other optional argument

_height

returns height of the dataset used initialize the imageMaker, either belonging to the dataset or other optional argument

_width

returns width used initialize the imageMaker, either belonging to the dataset or other optional argument

_colorscheme

returns colorscheme used initialize the imageMaker, either belonging to the dataset or other optional argument

Authors

Top

John C. Matese jcmatese@genome.stanford.edu


Microarray-GeneXplorer documentation  | view source Contained in the Microarray-GeneXplorer distribution.