org.geworkbench.bison.model.clusters
Interface SOMCluster

All Superinterfaces:
Cluster
All Known Implementing Classes:
DefaultSOMCluster, LeafSOMCluster

public interface SOMCluster
extends Cluster

Copyright: Copyright (c) 2003

Company: First Genetic Trust Inc.

Models an SOM cluster. Each cluster is characterized by 2 quantities: (1) Representative: this is a n-dimensional tuple of real numbers, where n is the number of microarrays within the microarray set. (2) Grid coordinates: this is the 2-dimensional coordiantes of this cluster within the original SOM grid.

The cluster contains all markers (MarkerInfo objects) from the microarray set whose expression profile vector is closest to the represeantative of this cluster rather than any other representative (proximity is measured using the distance metric defined in setting the parameters for the SOM algorithm).

Version:
$Id: SOMCluster.java 7941 2011-05-27 15:53:22Z zji $
Author:
First Genetic Trust

Method Summary
 void clearGridCoordinates()
          Clear the grid coordinateds for this cluster.
 int getXCoordinate()
          Gets the x coordinate for this cluster
 int getYCoordinate()
          Gets the y coordinate for this cluster
 void setGridCoordinates(int x, int y)
          Sets the grid coordinates for this cluster.
 
Methods inherited from interface org.geworkbench.bison.model.clusters.Cluster
addNode, getChildrenNodes, getLeafChildren, getLeafChildrenCount, getLeafChildrenCountMap, getNodesCount, getParent, isLeaf
 

Method Detail

setGridCoordinates

void setGridCoordinates(int x,
                        int y)
Sets the grid coordinates for this cluster.

Parameters:
x - x coordinate
y - y coordinate

clearGridCoordinates

void clearGridCoordinates()
Clear the grid coordinateds for this cluster.


getXCoordinate

int getXCoordinate()
Gets the x coordinate for this cluster

Returns:
The x-coordinate for this cluster (or -1, if no coordinate is available).

getYCoordinate

int getYCoordinate()
Gets the y coordinate for this cluster

Returns:
The y-coordinate for this cluster (or -1, if no coordinate is available).