Package org.intermine.bio.web.model
Class ProteinAtlasExpressions.ExpressionList.StainingLevel
- java.lang.Object
-
- org.intermine.bio.web.model.ProteinAtlasExpressions.ExpressionList.StainingLevel
-
- Enclosing class:
- ProteinAtlasExpressions.ExpressionList
public class ProteinAtlasExpressions.ExpressionList.StainingLevel extends java.lang.ObjectGives us 'stats' on the overall staining level of the Expressions
-
-
Constructor Summary
Constructors Constructor Description StainingLevel(ProteinAtlasExpressions.ByLevelComparator levelComparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.Integer level)java.lang.StringgetLevelClass()Convert the overall staining level of all Expressions into an average (ceiled/floored) valuefloatgetLevelValue()Get the float value representing the average Expression level
-
-
-
Constructor Detail
-
StainingLevel
public StainingLevel(ProteinAtlasExpressions.ByLevelComparator levelComparator)
- Parameters:
levelComparator- comparator
-
-
Method Detail
-
add
public void add(java.lang.Integer level)
- Parameters:
level- level
-
getLevelValue
public float getLevelValue()
Get the float value representing the average Expression level- Returns:
- the float value representing the average Expression level
-
getLevelClass
public java.lang.String getLevelClass()
Convert the overall staining level of all Expressions into an average (ceiled/floored) value- Returns:
- average value
-
-