Class GeoSampleCorrespondence

java.lang.Object
ubic.gemma.core.loader.expression.geo.GeoSampleCorrespondence
All Implemented Interfaces:
Serializable

public class GeoSampleCorrespondence extends Object implements Serializable
Holds information about GEO samples that "go together" across datasets (GDS), because they came from the same sample (or so we infer)
Author:
pavlidis
See Also:
  • Constructor Details

    • GeoSampleCorrespondence

      public GeoSampleCorrespondence()
  • Method Details

    • addCorrespondence

      public void addCorrespondence(String gsmNumberA, String gsmNumberB)
      Parameters:
      gsmNumberA - number A
      gsmNumberB - If null, interpreted as meaning there is no correspondence to worry about, though they can be added later.
    • copy

      public GeoSampleCorrespondence copy()
    • getCorrespondingSamples

      public Collection<String> getCorrespondingSamples(String gsmNumber)
      Parameters:
      gsmNumber - gsm number
      Returns:
      Collection of sample accession values that correspond to the argument.
    • iterator

      public Iterator<Set<String>> iterator()
    • removeSample

      public void removeSample(String gsmNumber)
      Remove a sample from the maps
      Parameters:
      gsmNumber - gsm number
    • setAccToDatasetOrPlatformMap

      public void setAccToDatasetOrPlatformMap(Map<String,String> accToDataset)
    • setAccToTitleMap

      public void setAccToTitleMap(Map<String,String> accToTitle)
    • size

      public int size()
      Returns:
      the number of sets (groups of matching samples)
    • toString

      public String toString()
      Overrides:
      toString in class Object