Package net.sf.basedb.clients.web
Class ExperimentExplorer.AnnotationSummary
- java.lang.Object
-
- 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: 2019-04-11 09:31:26 +0200 (tors, 11 apr. 2019) $
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationType
annotationType
private Map<Short,ExperimentExplorer.AnnotationGroup>
assayGroups
private ExperimentExplorer
explorer
private Set<ExperimentExplorer.AnnotationGroup>
groups
-
Constructor Summary
Constructors Modifier Constructor Description private
AnnotationSummary(ExperimentExplorer explorer, DbControl dc, AnnotationType annotationType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 thegetAnnotationGroups()
set.
-
-
-
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
-
AnnotationSummary
private 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 thegetAnnotationGroups()
set.- Since:
- 2.14
-
-