Class HeatmapDataValueObject.FactorEntry

java.lang.Object
ubic.gemma.rest.HeatmapDataValueObject.FactorEntry
Enclosing class:
HeatmapDataValueObject

public static class HeatmapDataValueObject.FactorEntry extends Object
One ExperimentalFactorValueObject plus, for continuous factors, the per-sample measurement map (keyed by bioAssayId). Kept on this wrapper rather than on the shared ExperimentalFactorValueObject so the VO's payload elsewhere stays unchanged.
Author:
claude
  • Constructor Details

  • Method Details

    • getFactor

      public ExperimentalFactorValueObject getFactor()
      Full factor VO: id, name, description, type, category(+Uri), values (with statements + is_baseline + measurement), baseline_relevance, baseline_relevance_reason.
    • getMeasurements

      @Nullable public Map<Long,Double> getMeasurements()
      bioAssayId -> measurement value. Continuous factors only; null/absent on categorical factors. Sample identity is bioAssayId because the column-axis of the heatmap is keyed by BioAssay (a single BioMaterial may have multiple assays).
    • setFactor

      public void setFactor(ExperimentalFactorValueObject factor)
      Full factor VO: id, name, description, type, category(+Uri), values (with statements + is_baseline + measurement), baseline_relevance, baseline_relevance_reason.
    • setMeasurements

      public void setMeasurements(@Nullable Map<Long,Double> measurements)
      bioAssayId -> measurement value. Continuous factors only; null/absent on categorical factors. Sample identity is bioAssayId because the column-axis of the heatmap is keyed by BioAssay (a single BioMaterial may have multiple assays).