org.geworkbench.bison.model.clusters
Class MarkerHierCluster

java.lang.Object
  extended by org.geworkbench.bison.model.clusters.AbstractCluster
      extended by org.geworkbench.bison.model.clusters.DefaultHierCluster
          extended by org.geworkbench.bison.model.clusters.MarkerHierCluster
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HierCluster>, Cluster, HierCluster

public class MarkerHierCluster
extends DefaultHierCluster

Generalization of DefaultHierCluster that contains a org.geworkbench.bison.model.microarray.DSMarker that contains a reference to a Genetic Marker defined by org.geworkbench.bison.model.microarray.MarkerValue. Clusters of this type are used to create a Marker Dendrogram representing Genetic Marker Clustering as obtained from the Hierachical Clustering Analysis

Version:
$Id: MarkerHierCluster.java,v 1.2 2006-03-03 18:00:58 mhall Exp $
Author:
First Genetic Trust
See Also:
Serialized Form

Field Summary
protected  DSGeneMarker mInfo
          Stores the marker associated with this cluster.
 
Fields inherited from class org.geworkbench.bison.model.clusters.AbstractCluster
children, parent
 
Constructor Summary
MarkerHierCluster()
           
 
Method Summary
 DSGeneMarker getMarkerInfo()
          Gets the DSMarker associated with this node
 void setMarkerInfo(DSGeneMarker mi)
          Sets the DSMarker associated with this node
 
Methods inherited from class org.geworkbench.bison.model.clusters.DefaultHierCluster
addNode, compareTo, getDepth, getHeight, getMaxHeight, getNode, setDepth, setHeight
 
Methods inherited from class org.geworkbench.bison.model.clusters.AbstractCluster
addNode, getChildrenNodes, getLeafChildren, getLeafChildrenCount, getLeafChildrenCountMap, getNodesCount, getParent, isLeaf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geworkbench.bison.model.clusters.Cluster
addNode, getChildrenNodes, getLeafChildren, getLeafChildrenCount, getLeafChildrenCountMap, getNodesCount, getParent, isLeaf
 

Field Detail

mInfo

protected DSGeneMarker mInfo
Stores the marker associated with this cluster. For hierarchical clusters, only leaf nodes have a non-null value in this field.

Constructor Detail

MarkerHierCluster

public MarkerHierCluster()
Method Detail

setMarkerInfo

public void setMarkerInfo(DSGeneMarker mi)
Sets the DSMarker associated with this node

Parameters:
mi - DSMarker associated with this node

getMarkerInfo

public DSGeneMarker getMarkerInfo()
Gets the DSMarker associated with this node

Returns:
DSMarker associated with this node