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 Modifier and Type Class Description static classExpressionExperiment.Factory
-
Field Summary
Fields Modifier and Type Field Description static intMAX_NAME_LENGTH
-
Constructor Summary
Constructors Constructor Description ExpressionExperiment()
-
Method Summary
-
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 Detail
-
MAX_NAME_LENGTH
public static final int MAX_NAME_LENGTH
- See Also:
- Constant Field Values
-
-
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)
-
getId
@DocumentId public Long getId()
- Specified by:
getIdin interfaceIdentifiable- Specified by:
getIdin interfacegemma.gsec.model.Securable- Overrides:
getIdin classAbstractIdentifiable
-
getName
@Field(store=YES) public String getName()
Description copied from interface:DescribableObtain a short, human-readable name of the object.- Specified by:
getNamein interfaceDescribable- Overrides:
getNamein classAbstractDescribable
-
getDescription
@Field(store=YES) public String getDescription()
Description copied from interface:DescribableObtain a human-readable description of the object.- Specified by:
getDescriptionin interfaceDescribable- Overrides:
getDescriptionin classAbstractDescribable
-
getBioAssays
@IndexedEmbedded public Set<BioAssay> getBioAssays()
- Overrides:
getBioAssaysin classBioAssaySet
-
getAccession
@Nullable @IndexedEmbedded public DatabaseEntry getAccession()
-
getPrimaryPublication
@IndexedEmbedded public BibliographicReference getPrimaryPublication()
- Overrides:
getPrimaryPublicationin classInvestigation- Returns:
- The primary citable publication for this investigation.
-
getOtherRelevantPublications
@IndexedEmbedded public Set<BibliographicReference> getOtherRelevantPublications()
- Overrides:
getOtherRelevantPublicationsin 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:
getCharacteristicsin classInvestigation- Returns:
- Annotations that describe the experiment as a whole, for example "tumor" or "brain".
-
getBatchEffect
@Nullable public BatchEffectType getBatchEffect()
-
getCurationDetails
public CurationDetails getCurationDetails()
- Specified by:
getCurationDetailsin interfaceCuratable
-
getExperimentalDesign
@Nullable @IndexedEmbedded public ExperimentalDesign getExperimentalDesign()
-
getMeanVarianceRelation
@Nullable public MeanVarianceRelation getMeanVarianceRelation()
-
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()
-
getSingleCellExpressionDataVectors
public Set<SingleCellExpressionDataVector> getSingleCellExpressionDataVectors()
-
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.
-
setAccession
public void setAccession(@Nullable DatabaseEntry accession)
-
setBatchEffect
public void setBatchEffect(@Nullable BatchEffectType batchEffect)
-
setBatchEffectStatistics
public void setBatchEffectStatistics(@Nullable String batchEffectStatistics)
-
setCurationDetails
public void setCurationDetails(CurationDetails curationDetails)
- Specified by:
setCurationDetailsin interfaceCuratable
-
setExperimentalDesign
public void setExperimentalDesign(@Nullable ExperimentalDesign experimentalDesign)
-
setMeanVarianceRelation
public void setMeanVarianceRelation(@Nullable MeanVarianceRelation meanVarianceRelation)
-
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)
-
setSingleCellExpressionDataVectors
public void setSingleCellExpressionDataVectors(Set<SingleCellExpressionDataVector> singleCellExpressionDataVectors)
-
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
@Nullable public Taxon 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.
-
hashCode
public int hashCode()
Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Overrides:
hashCodein classAbstractDescribable
-
equals
public boolean equals(Object object)
Description copied from class:AbstractIdentifiableImportant 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:
equalsin classAbstractIdentifiable
-
toString
public String toString()
- Overrides:
toStringin classAbstractDescribable
-
-