Class ExpressionExperiment
- java.lang.Object
-
- 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
,Serializable
,Auditable
,Curatable
,Securable
,SecuredNotChild
,Describable
,Identifiable
@Indexed public class ExpressionExperiment extends BioAssaySet implements SecuredNotChild, Curatable
- Author:
- paul
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExpressionExperiment.Factory
-
Constructor Summary
Constructors Constructor Description ExpressionExperiment()
-
Method Summary
-
Methods inherited from class ubic.gemma.model.expression.experiment.BioAssaySet
setAccession, 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, setId, setName
-
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
-
-
-
-
Method Detail
-
getNumberOfSamples
public Integer 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
public void setNumberOfSamples(Integer numberofSamples)
-
createValueObject
public ExpressionExperimentValueObject createValueObject()
Description copied from class:BioAssaySet
Special use case. Use a constructor of the desired VO instead, or the loadValueObject() in all VO-Enabled services.- Specified by:
createValueObject
in classBioAssaySet
- Returns:
- an expression experiment value object.
-
equals
public boolean equals(Object object)
Description copied from class:AbstractDescribable
Returnstrue
if the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalse
otherwise.- Overrides:
equals
in classAbstractDescribable
-
getId
@DocumentId public Long getId()
- Specified by:
getId
in interfaceIdentifiable
- Specified by:
getId
in interfacegemma.gsec.model.Securable
- Overrides:
getId
in classAbstractDescribable
-
getName
@Field(store=YES) public String 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
@Field(store=YES) public String getDescription()
Description copied from interface:Describable
Obtain a human-readable description of the object- Specified by:
getDescription
in interfaceDescribable
- Overrides:
getDescription
in classAbstractDescribable
-
getBioAssays
@IndexedEmbedded public Set<BioAssay> getBioAssays()
- Overrides:
getBioAssays
in classBioAssaySet
-
getAccession
@Nullable @IndexedEmbedded public DatabaseEntry getAccession()
- Overrides:
getAccession
in classBioAssaySet
-
getPrimaryPublication
@IndexedEmbedded public BibliographicReference getPrimaryPublication()
- Overrides:
getPrimaryPublication
in classInvestigation
- Returns:
- The primary citable publication for this investigation.
-
getOtherRelevantPublications
@IndexedEmbedded public Set<BibliographicReference> 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
@IndexedEmbedded(includePaths={"value","valueUri"}) public Set<Characteristic> getCharacteristics()
- Overrides:
getCharacteristics
in classInvestigation
- Returns:
- Annotations that describe the experiment as a whole, for example "tumor" or "brain".
-
getBatchConfound
public String getBatchConfound()
-
getBatchEffect
public BatchEffectType getBatchEffect()
-
getBatchEffectStatistics
public String getBatchEffectStatistics()
-
getCurationDetails
public CurationDetails getCurationDetails()
- Specified by:
getCurationDetails
in interfaceCuratable
-
getExperimentalDesign
@IndexedEmbedded public ExperimentalDesign getExperimentalDesign()
-
getGeeq
public Geeq getGeeq()
-
getMeanVarianceRelation
public MeanVarianceRelation getMeanVarianceRelation()
-
getMetadata
public String getMetadata()
-
getNumberOfDataVectors
public Integer getNumberOfDataVectors()
- Returns:
- The number of ProcessedExpressionDataVectors associated with this.
-
getOtherParts
public Set<ExpressionExperiment> getOtherParts()
-
getProcessedExpressionDataVectors
public Set<ProcessedExpressionDataVector> getProcessedExpressionDataVectors()
-
getQuantitationTypes
public Set<QuantitationType> getQuantitationTypes()
-
getRawExpressionDataVectors
public Set<RawExpressionDataVector> getRawExpressionDataVectors()
-
getShortName
@Field(analyze=NO) public String 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
public String 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
public Set<Characteristic> getAllCharacteristics()
Obtain all characteristics associated to this EE.This relationship is not managed by this entity, so you should only query it.
-
hashCode
public int hashCode()
Description copied from class:AbstractDescribable
Returns a hash code based on this entity's identifiers.- Overrides:
hashCode
in classAbstractDescribable
-
setBatchConfound
public void setBatchConfound(String batchConfound)
-
setBatchEffect
public void setBatchEffect(BatchEffectType batchEffect)
-
setBatchEffectStatistics
public void setBatchEffectStatistics(String batchEffectStatistics)
-
setCurationDetails
public void setCurationDetails(CurationDetails curationDetails)
- Specified by:
setCurationDetails
in interfaceCuratable
-
setExperimentalDesign
public void setExperimentalDesign(ExperimentalDesign experimentalDesign)
-
setGeeq
public void setGeeq(Geeq geeq)
-
setMeanVarianceRelation
public void setMeanVarianceRelation(MeanVarianceRelation meanVarianceRelation)
-
setMetadata
public void setMetadata(String metadata)
-
setNumberOfDataVectors
public void setNumberOfDataVectors(Integer numberOfDataVectors)
-
setOtherParts
public void setOtherParts(Set<ExpressionExperiment> otherParts)
-
setProcessedExpressionDataVectors
public void setProcessedExpressionDataVectors(Set<ProcessedExpressionDataVector> processedExpressionDataVectors)
-
setQuantitationTypes
public void setQuantitationTypes(Set<QuantitationType> quantitationTypes)
-
setRawExpressionDataVectors
public void setRawExpressionDataVectors(Set<RawExpressionDataVector> rawExpressionDataVectors)
-
setShortName
public void setShortName(String shortName)
-
setSource
public void setSource(String source)
-
setAllCharacteristics
public void setAllCharacteristics(Set<Characteristic> allCharacteristics)
-
getTaxon
public Taxon getTaxon()
This is a denormalization to speed up queries. For the definitive taxon, look at the bioAssays -> sampleUsed -> sourceTaxon- Returns:
- the associated taxon
-
setTaxon
public void setTaxon(Taxon taxon)
-
toString
public String toString()
- Overrides:
toString
in classAbstractDescribable
- See Also:
AbstractDescribable.toString()
-
-