Class GeoSampleCorrespondence
java.lang.Object
ubic.gemma.core.loader.expression.geo.GeoSampleCorrespondence
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCorrespondence(String gsmNumberA, String gsmNumberB) copy()getCorrespondingSamples(String gsmNumber) iterator()voidremoveSample(String gsmNumber) Remove a sample from the mapsvoidsetAccToDatasetOrPlatformMap(Map<String, String> accToDataset) voidsetAccToTitleMap(Map<String, String> accToTitle) intsize()toString()
-
Constructor Details
-
GeoSampleCorrespondence
public GeoSampleCorrespondence()
-
-
Method Details
-
addCorrespondence
- Parameters:
gsmNumberA- number AgsmNumberB- If null, interpreted as meaning there is no correspondence to worry about, though they can be added later.
-
copy
-
getCorrespondingSamples
- Parameters:
gsmNumber- gsm number- Returns:
- Collection of sample accession values that correspond to the argument.
-
iterator
-
removeSample
Remove a sample from the maps- Parameters:
gsmNumber- gsm number
-
setAccToDatasetOrPlatformMap
-
setAccToTitleMap
-
size
public int size()- Returns:
- the number of sets (groups of matching samples)
-
toString
-