Class GeoSample
java.lang.Object
ubic.gemma.core.loader.expression.geo.model.GeoData
ubic.gemma.core.loader.expression.geo.model.GeoSample
- All Implemented Interfaces:
Serializable,Comparable<GeoSample>
Represents a sample (GSM) in GEO. The channels correspond to BioMaterials; the sample itself corresponds to a
BioAssay in Gemma. Some fields are only relevant for SAGE.
- Author:
- pavlidis
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddPlatform(GeoPlatform platform) voidaddReplication(GeoReplication replication) voidaddSeriesAppearsIn(String value) voidvoidvoidvoidvoidvoidaddVariable(GeoVariable variable) booleanintgetChannel(int i) getId()getNthQuantitationType(int n) Given a column number (count starts from zero) get the name of the corresponding quantitation type for this sample.intintThis is used to store the title for the sample as found in the GDS file, if it differs from the one in the GSE filegetType()The sample type (ie.booleanbooleanbooleanIndicate if the data might be separate, as for some RNA-seq studies.booleanvoidvoidsetDataProcessing(String dataProcessing) voidsetDescription(String description) voidsetGenePix(boolean isGenePix) voidsetHybProtocol(String hybProtocol) voidvoidsetLastUpdateDate(String lastUpdateDate) voidsetLibSource(GeoLibrarySource libSource) voidsetLibStrategy(GeoLibraryStrategy libStrategy) voidsetMightNotHaveDataInFile(boolean mightNotHaveDataInFile) Indicate if the data might be separate, as for some RNA-seq studies.voidsetPlatforms(Collection<GeoPlatform> platforms) voidsetScanProtocol(String scanProtocol) voidvoidsetSubmissionDate(String submissionDate) voidsetTagCount(int tagCount) voidsetTagLength(int tagLength) voidsetTitleInDataset(String titleInDataset) This is used to store the title for the sample as found in the GDS file, if it differs from the one in the GSE filevoidsetType(GeoSampleType type) The sample type (ie.voidsetWarnedAboutGenePix(boolean warnedAboutGenePix) toString()Methods inherited from class ubic.gemma.core.loader.expression.geo.model.GeoData
addColumnName, addRelation, equals, getColumnDescriptions, getColumnNames, getContact, getGeoAccession, getRelations, getTitle, hashCode, setContact, setGeoAccession, setRelations, setTitle
-
Constructor Details
-
GeoSample
public GeoSample()
-
-
Method Details
-
addChannel
public void addChannel() -
addPlatform
-
addReplication
-
addSeriesAppearsIn
-
addToDataProcessing
-
addToDescription
-
addToHybProtocol
-
addToScanProtocol
-
addVariable
-
appearsInMultipleSeries
public boolean appearsInMultipleSeries()- Returns:
- true if this sample appears in more than one GEO Series.
-
getChannel
-
getNthQuantitationType
Given a column number (count starts from zero) get the name of the corresponding quantitation type for this sample.- Parameters:
n- column number- Returns:
- column name.
-
getOrganism
- Returns:
- organism name. This is obtained from the 'channels'.
- Throws:
IllegalArgumentException- if there are two different organisms. This is kind of temporary, it's not nice.
-
hasUsableData
public boolean hasUsableData()- Returns:
- true if the data uses a platform that, generally, we can use the data from. Will be false for MPSS, SAGE and Exon array data.
-
setDescription
- Parameters:
description- The description to set.
-
addToSupplementaryFiles
-
compareTo
- Specified by:
compareToin interfaceComparable<GeoSample>
-
toString
-
getStatus
-
getSubmissionDate
-
getId
-
getChannels
-
getDataProcessing
-
getDescription
-
getHybProtocol
-
isGenePix
public boolean isGenePix() -
getLastUpdateDate
-
getLibSource
-
getLibStrategy
-
isMightNotHaveDataInFile
public boolean isMightNotHaveDataInFile()Indicate if the data might be separate, as for some RNA-seq studies. -
getPlatforms
-
getReplicates
-
getScanProtocol
-
getSeriesAppearsIn
-
getSupplementaryFiles
-
getAnchor
-
getTagCount
public int getTagCount() -
getTagLength
public int getTagLength() -
getTitleInDataset
This is used to store the title for the sample as found in the GDS file, if it differs from the one in the GSE file -
getType
The sample type (ie. DNA, RNA, etc.) -
getVariables
-
isWarnedAboutGenePix
public boolean isWarnedAboutGenePix() -
setStatus
-
setSubmissionDate
-
setId
-
setDataProcessing
-
setHybProtocol
-
setGenePix
public void setGenePix(boolean isGenePix) -
setLastUpdateDate
-
setLibSource
-
setLibStrategy
-
setMightNotHaveDataInFile
public void setMightNotHaveDataInFile(boolean mightNotHaveDataInFile) Indicate if the data might be separate, as for some RNA-seq studies. -
setPlatforms
-
setScanProtocol
-
setAnchor
-
setTagCount
public void setTagCount(int tagCount) -
setTagLength
public void setTagLength(int tagLength) -
setTitleInDataset
This is used to store the title for the sample as found in the GDS file, if it differs from the one in the GSE file -
setType
The sample type (ie. DNA, RNA, etc.) -
setWarnedAboutGenePix
public void setWarnedAboutGenePix(boolean warnedAboutGenePix)
-