Class HomeStats.TreatmentBucketStat

java.lang.Object
ubic.gemma.core.analysis.report.HomeStats.TreatmentBucketStat
Enclosing class:
HomeStats

public static class HomeStats.TreatmentBucketStat extends Object
  • Constructor Details

    • TreatmentBucketStat

      public TreatmentBucketStat(String key, String label)
    • TreatmentBucketStat

      public TreatmentBucketStat()
  • Method Details

    • getKey

      public String getKey()
      Stable lowercase-snake-case identifier the frontend matches in code — e.g. approved_drug, pathogen, biologic, control, other_chemical, other.
    • getLabel

      public String getLabel()
      Visitor-facing label with the canonical phrasing.
    • getGroup

      public String 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: Σ numberOfExpressionExperiments over 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

      public List<HomeStats.TermStat> getTopTerms()
      Top representative terms in this bucket, sorted desc by EE-mention count. For the other_chemical / other catchalls 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

      public List<HomeStats.TreatmentBucketStat> getSubBuckets()
      Nested partition. When this bucket has sub-buckets, every matched term is attributed to exactly one sub-bucket (or to an implicit <key>_other if no sub-bucket matches). Parent count = Σ child count.
    • setKey

      public void setKey(String key)
      Stable lowercase-snake-case identifier the frontend matches in code — e.g. approved_drug, pathogen, biologic, control, other_chemical, other.
    • setLabel

      public void setLabel(String label)
      Visitor-facing label with the canonical phrasing.
    • setGroup

      public void setGroup(String group)
      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: Σ numberOfExpressionExperiments over 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

      public void setTopTerms(List<HomeStats.TermStat> topTerms)
      Top representative terms in this bucket, sorted desc by EE-mention count. For the other_chemical / other catchalls 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

      public void setSubBuckets(List<HomeStats.TreatmentBucketStat> subBuckets)
      Nested partition. When this bucket has sub-buckets, every matched term is attributed to exactly one sub-bucket (or to an implicit <key>_other if no sub-bucket matches). Parent count = Σ child count.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object