2.17.2: 2011-06-17

net.sf.basedb.clients.web
Class ExperimentExplorer.AnnotationSummary

java.lang.Object
  extended by net.sf.basedb.clients.web.ExperimentExplorer.AnnotationSummary
Enclosing class:
ExperimentExplorer

public static class ExperimentExplorer.AnnotationSummary
extends Object

An annotation summary object keeps track of intensities and other statistical information based on the annotation group.

Version:
2.0
Author:
nicklas
Last modified
$Date: 2010-01-18 08:31:09 +0100 (Mon, 18 Jan 2010) $

Field Summary
private  AnnotationType annotationType
           
private  Map<Short,ExperimentExplorer.AnnotationGroup> assayGroups
           
private  ExperimentExplorer explorer
           
private  Set<ExperimentExplorer.AnnotationGroup> groups
           
 
Constructor Summary
private ExperimentExplorer.AnnotationSummary(ExperimentExplorer explorer, DbControl dc, AnnotationType annotationType)
           
 
Method Summary
 ExperimentExplorer.AnnotationGroup getAnnotationGroup(short column)
          Get the annotation group for the bioassay with the give data cube column.
 Set<ExperimentExplorer.AnnotationGroup> getAnnotationGroups()
          Get all annotation groups that was found among the bioassays.
 AnnotationType getAnnotationType()
          Get the annotation type this summary is based on.
 void reset()
          Reset the collected statistics in all annotation groups.
 void setColorsAuto()
          Arranges the colors of the groups in the order they are returned by the getAnnotationGroups() set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

explorer

private final ExperimentExplorer explorer

assayGroups

private final Map<Short,ExperimentExplorer.AnnotationGroup> assayGroups

groups

private final Set<ExperimentExplorer.AnnotationGroup> groups

annotationType

private final AnnotationType annotationType
Constructor Detail

ExperimentExplorer.AnnotationSummary

private ExperimentExplorer.AnnotationSummary(ExperimentExplorer explorer,
                                             DbControl dc,
                                             AnnotationType annotationType)
Method Detail

getAnnotationType

public AnnotationType getAnnotationType()
Get the annotation type this summary is based on.

Since:
2.14

getAnnotationGroup

public ExperimentExplorer.AnnotationGroup getAnnotationGroup(short column)
Get the annotation group for the bioassay with the give data cube column.

Parameters:
column - The data cube column of an bioassay
Returns:
An AnnotationGroup object, or null if none is found

getAnnotationGroups

public Set<ExperimentExplorer.AnnotationGroup> getAnnotationGroups()
Get all annotation groups that was found among the bioassays.

Returns:
The annotations groups.

reset

public void reset()
Reset the collected statistics in all annotation groups.

Since:
2.14

setColorsAuto

public void setColorsAuto()
Arranges the colors of the groups in the order they are returned by the getAnnotationGroups() set.

Since:
2.14

2.17.2: 2011-06-17