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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeoSampleCorrespondence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCorrespondence(String gsmNumberA, String gsmNumberB)
GeoSampleCorrespondence
copy()
Collection<String>
getCorrespondingSamples(String gsmNumber)
Iterator<Set<String>>
iterator()
void
removeSample(String gsmNumber)
Remove a sample from the mapsvoid
setAccToDatasetOrPlatformMap(Map<String,String> accToDataset)
void
setAccToTitleMap(Map<String,String> accToTitle)
int
size()
String
toString()
-
-
-
Method Detail
-
addCorrespondence
public void addCorrespondence(String gsmNumberA, String gsmNumberB)
- Parameters:
gsmNumberA
- number AgsmNumberB
- 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.
-
removeSample
public void removeSample(String gsmNumber)
Remove a sample from the maps- Parameters:
gsmNumber
- gsm number
-
setAccToDatasetOrPlatformMap
public void setAccToDatasetOrPlatformMap(Map<String,String> accToDataset)
-
size
public int size()
- Returns:
- the number of sets (groups of matching samples)
-
-