Class ExpressionExperiment
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.common.AbstractDescribable
ubic.gemma.model.common.auditAndSecurity.AbstractAuditable
ubic.gemma.model.analysis.Investigation
ubic.gemma.model.expression.experiment.BioAssaySet
ubic.gemma.model.expression.experiment.ExpressionExperiment
- All Implemented Interfaces:
gemma.gsec.model.Securable
,gemma.gsec.model.SecuredNotChild
,Auditable
,Curatable
,Securable
,SecuredNotChild
,Describable
,Identifiable
@Indexed
public class ExpressionExperiment
extends BioAssaySet
implements SecuredNotChild, Curatable
- Author:
- paul
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Important note: Two objects with the same class and non-null ID must be considered equal.Obtain all characteristics associated to this EE.Obtain a human-readable description of the objectgetGeeq()
getId()
getName()
Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.getTaxon()
Taxon of this dataset.int
hashCode()
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.void
setAccession
(DatabaseEntry accession) void
setAllCharacteristics
(Set<Characteristic> allCharacteristics) void
setBatchConfound
(String batchConfound) void
setBatchEffect
(BatchEffectType batchEffect) void
setBatchEffectStatistics
(String batchEffectStatistics) void
setCurationDetails
(CurationDetails curationDetails) void
setExperimentalDesign
(ExperimentalDesign experimentalDesign) void
void
setMeanVarianceRelation
(MeanVarianceRelation meanVarianceRelation) void
setMetadata
(String metadata) void
setNumberOfDataVectors
(Integer numberOfDataVectors) void
setNumberOfSamples
(Integer numberofSamples) void
setOtherParts
(Set<ExpressionExperiment> otherParts) void
setProcessedExpressionDataVectors
(Set<ProcessedExpressionDataVector> processedExpressionDataVectors) void
setQuantitationTypes
(Set<QuantitationType> quantitationTypes) void
setRawExpressionDataVectors
(Set<RawExpressionDataVector> rawExpressionDataVectors) void
setShortName
(String shortName) void
setSingleCellExpressionDataVectors
(Set<SingleCellExpressionDataVector> singleCellExpressionDataVectors) void
void
toString()
Methods inherited from class ubic.gemma.model.expression.experiment.BioAssaySet
setBioAssays
Methods inherited from class ubic.gemma.model.analysis.Investigation
getOwner, setCharacteristics, setOtherRelevantPublications, setOwner, setPrimaryPublication
Methods inherited from class ubic.gemma.model.common.auditAndSecurity.AbstractAuditable
getAuditTrail, setAuditTrail
Methods inherited from class ubic.gemma.model.common.AbstractDescribable
setDescription, setName
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ubic.gemma.model.common.auditAndSecurity.Auditable
getAuditTrail, setAuditTrail
-
Field Details
-
MAX_NAME_LENGTH
public static final int MAX_NAME_LENGTH- See Also:
-
-
Constructor Details
-
ExpressionExperiment
public ExpressionExperiment()
-
-
Method Details
-
getNumberOfSamples
- Returns:
- the number of samples (bioassays). If there are multiple platforms used, this number may not be the same as the actual number of biological samples. This is a denormalization to speed up queries; the definitive count is always from this.getBioAssays().size()
-
setNumberOfSamples
-
getId
- Specified by:
getId
in interfaceIdentifiable
- Specified by:
getId
in interfacegemma.gsec.model.Securable
- Overrides:
getId
in classAbstractIdentifiable
-
getName
Description copied from interface:Describable
Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.- Specified by:
getName
in interfaceDescribable
- Overrides:
getName
in classAbstractDescribable
-
getDescription
Description copied from interface:Describable
Obtain a human-readable description of the object- Specified by:
getDescription
in interfaceDescribable
- Overrides:
getDescription
in classAbstractDescribable
-
getBioAssays
- Overrides:
getBioAssays
in classBioAssaySet
-
getAccession
-
getPrimaryPublication
- Overrides:
getPrimaryPublication
in classInvestigation
- Returns:
- The primary citable publication for this investigation.
-
getOtherRelevantPublications
- Overrides:
getOtherRelevantPublications
in classInvestigation
- Returns:
- A collection of other publications that are directly relevant to this investigation (e.g., use the same data but are not the primary publication for the investigation).
-
getCharacteristics
- Overrides:
getCharacteristics
in classInvestigation
- Returns:
- Annotations that describe the experiment as a whole, for example "tumor" or "brain".
-
getBatchConfound
-
getBatchEffect
-
getBatchEffectStatistics
-
getCurationDetails
- Specified by:
getCurationDetails
in interfaceCuratable
-
getExperimentalDesign
-
getGeeq
-
getMeanVarianceRelation
-
getMetadata
-
getNumberOfDataVectors
- Returns:
- The number of ProcessedExpressionDataVectors associated with this.
-
getOtherParts
-
getProcessedExpressionDataVectors
-
getQuantitationTypes
-
getSingleCellExpressionDataVectors
-
getRawExpressionDataVectors
-
getShortName
- Returns:
- A brief unique (but optional) human-readable name for the expression experiment. For example in the past we often used names like "alizadeh-lymphoma".
-
getSource
- Returns:
- string describing how the data was obtained (e.g. direct upload) if it was not from a Accesssion in an ExternalDatabase (e.g. GEO)
-
getAllCharacteristics
Obtain all characteristics associated to this EE.This relationship is not managed by this entity, so you should only query it.
-
setAccession
-
setBatchConfound
-
setBatchEffect
-
setBatchEffectStatistics
-
setCurationDetails
- Specified by:
setCurationDetails
in interfaceCuratable
-
setExperimentalDesign
-
setGeeq
-
setMeanVarianceRelation
-
setMetadata
-
setNumberOfDataVectors
-
setOtherParts
-
setProcessedExpressionDataVectors
public void setProcessedExpressionDataVectors(Set<ProcessedExpressionDataVector> processedExpressionDataVectors) -
setQuantitationTypes
-
setSingleCellExpressionDataVectors
public void setSingleCellExpressionDataVectors(Set<SingleCellExpressionDataVector> singleCellExpressionDataVectors) -
setRawExpressionDataVectors
-
setShortName
-
setSource
-
setAllCharacteristics
-
getTaxon
Taxon of this dataset.This is a denormalization to speed up queries. For the definitive taxon, look at the
bioAssays.sampleUsed.sourceTaxon
. It's possible that more than one distinct taxa can be found that way such experiments should eventually be split by taxon. -
setTaxon
-
hashCode
public int hashCode()Description copied from class:AbstractIdentifiable
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Overrides:
hashCode
in classAbstractDescribable
-
equals
Description copied from class:AbstractIdentifiable
Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.- Specified by:
equals
in classAbstractIdentifiable
-
toString
- Overrides:
toString
in classAbstractDescribable
-