Class 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:
    Serialized Form
    • Constructor Detail

      • GeoSampleCorrespondence

        public GeoSampleCorrespondence()
    • Method Detail

      • 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.
      • getCorrespondingSamples

        public Collection<String> getCorrespondingSamples​(String gsmNumber)
        Parameters:
        gsmNumber - gsm number
        Returns:
        Collection of sample accession values that correspond to the argument.
      • 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)