Class HomeStats.TreatmentBucketStat
java.lang.Object
ubic.gemma.core.analysis.report.HomeStats.TreatmentBucketStat
- Enclosing class:
HomeStats
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanlonggetCount()Annotation-burden metric: ΣnumberOfExpressionExperimentsover each matched term — a popular drug used in 40 datasets contributes 40, not 1.getGroup()Coarse UI grouping carried through from the bucket spec —control,pharmacology,biological,unclassified.getKey()Stable lowercase-snake-case identifier the frontend matches in code — e.g.getLabel()Visitor-facing label with the canonical phrasing.Nested partition.longAnnotation-diversity metric: distinct URIs that landed in this bucket.Top representative terms in this bucket, sorted desc by EE-mention count.inthashCode()voidsetCount(long count) Annotation-burden metric: ΣnumberOfExpressionExperimentsover each matched term — a popular drug used in 40 datasets contributes 40, not 1.voidCoarse UI grouping carried through from the bucket spec —control,pharmacology,biological,unclassified.voidStable lowercase-snake-case identifier the frontend matches in code — e.g.voidVisitor-facing label with the canonical phrasing.voidsetSubBuckets(List<HomeStats.TreatmentBucketStat> subBuckets) Nested partition.voidsetTermCount(long termCount) Annotation-diversity metric: distinct URIs that landed in this bucket.voidsetTopTerms(List<HomeStats.TermStat> topTerms) Top representative terms in this bucket, sorted desc by EE-mention count.toString()
-
Constructor Details
-
TreatmentBucketStat
-
TreatmentBucketStat
public TreatmentBucketStat()
-
-
Method Details
-
getKey
Stable lowercase-snake-case identifier the frontend matches in code — e.g.approved_drug,pathogen,biologic,control,other_chemical,other. -
getLabel
Visitor-facing label with the canonical phrasing. -
getGroup
Coarse UI grouping carried through from the bucket spec —control,pharmacology,biological,unclassified. Lets the frontend cluster bars together (and visually separate the control-like buckets — control + vehicle — from pharmacology of interest). -
getCount
public long getCount()Annotation-burden metric: ΣnumberOfExpressionExperimentsover each matched term — a popular drug used in 40 datasets contributes 40, not 1. -
getTermCount
public long getTermCount()Annotation-diversity metric: distinct URIs that landed in this bucket. -
getTopTerms
Top representative terms in this bucket, sorted desc by EE-mention count. For theother_chemical/othercatchalls this drives the iterative-bucketing loop: the curator looks at what's still drowning unclassified, adds those URIs to a more specific bucket, redeploys, and the head of the catchall list shrinks. -
getSubBuckets
Nested partition. When this bucket has sub-buckets, every matched term is attributed to exactly one sub-bucket (or to an implicit<key>_otherif no sub-bucket matches). Parentcount= Σ childcount. -
setKey
Stable lowercase-snake-case identifier the frontend matches in code — e.g.approved_drug,pathogen,biologic,control,other_chemical,other. -
setLabel
Visitor-facing label with the canonical phrasing. -
setGroup
Coarse UI grouping carried through from the bucket spec —control,pharmacology,biological,unclassified. Lets the frontend cluster bars together (and visually separate the control-like buckets — control + vehicle — from pharmacology of interest). -
setCount
public void setCount(long count) Annotation-burden metric: ΣnumberOfExpressionExperimentsover each matched term — a popular drug used in 40 datasets contributes 40, not 1. -
setTermCount
public void setTermCount(long termCount) Annotation-diversity metric: distinct URIs that landed in this bucket. -
setTopTerms
Top representative terms in this bucket, sorted desc by EE-mention count. For theother_chemical/othercatchalls this drives the iterative-bucketing loop: the curator looks at what's still drowning unclassified, adds those URIs to a more specific bucket, redeploys, and the head of the catchall list shrinks. -
setSubBuckets
Nested partition. When this bucket has sub-buckets, every matched term is attributed to exactly one sub-bucket (or to an implicit<key>_otherif no sub-bucket matches). Parentcount= Σ childcount. -
equals
-
canEqual
-
hashCode
-
toString
-