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 TypeMethodDescriptionbooleanImportant 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.inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidsetAccession(DatabaseEntry accession) voidsetAllCharacteristics(Set<Characteristic> allCharacteristics) voidsetBatchConfound(String batchConfound) voidsetBatchEffect(BatchEffectType batchEffect) voidsetBatchEffectStatistics(String batchEffectStatistics) voidsetCurationDetails(CurationDetails curationDetails) voidsetExperimentalDesign(ExperimentalDesign experimentalDesign) voidvoidsetMeanVarianceRelation(MeanVarianceRelation meanVarianceRelation) voidsetMetadata(String metadata) voidsetNumberOfCells(Integer numberOfCells) voidsetNumberOfDataVectors(Integer numberOfDataVectors) voidsetNumberOfSamples(Integer numberofSamples) voidsetOtherParts(Set<ExpressionExperiment> otherParts) voidsetProcessedExpressionDataVectors(Set<ProcessedExpressionDataVector> processedExpressionDataVectors) voidsetQuantitationTypes(Set<QuantitationType> quantitationTypes) voidsetRawExpressionDataVectors(Set<RawExpressionDataVector> rawExpressionDataVectors) voidsetShortName(String shortName) voidsetSingleCellExpressionDataVectors(Set<SingleCellExpressionDataVector> singleCellExpressionDataVectors) voidvoidtoString()Methods inherited from class ubic.gemma.model.expression.experiment.BioAssaySet
setBioAssaysMethods inherited from class ubic.gemma.model.analysis.Investigation
getOwner, setCharacteristics, setOtherRelevantPublications, setOwner, setPrimaryPublicationMethods inherited from class ubic.gemma.model.common.auditAndSecurity.AbstractAuditable
getAuditTrail, setAuditTrailMethods inherited from class ubic.gemma.model.common.AbstractDescribable
setDescription, setNameMethods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getIdin interfaceIdentifiable- Specified by:
getIdin interfacegemma.gsec.model.Securable- Overrides:
getIdin classAbstractIdentifiable
-
getName
Description copied from interface:DescribableObtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.- Specified by:
getNamein interfaceDescribable- Overrides:
getNamein classAbstractDescribable
-
getDescription
Description copied from interface:DescribableObtain a human-readable description of the object- Specified by:
getDescriptionin interfaceDescribable- Overrides:
getDescriptionin classAbstractDescribable
-
getBioAssays
- Overrides:
getBioAssaysin classBioAssaySet
-
getAccession
-
getPrimaryPublication
- Overrides:
getPrimaryPublicationin classInvestigation- Returns:
- The primary citable publication for this investigation.
-
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
- Overrides:
getCharacteristicsin classInvestigation- Returns:
- Annotations that describe the experiment as a whole, for example "tumor" or "brain".
-
getBatchConfound
-
getBatchEffect
-
getBatchEffectStatistics
-
getCurationDetails
- Specified by:
getCurationDetailsin interfaceCuratable
-
getExperimentalDesign
-
getGeeq
-
getMeanVarianceRelation
-
getMetadata
-
getNumberOfDataVectors
- Returns:
- The number of ProcessedExpressionDataVectors associated with this.
-
getNumberOfCells
-
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:
setCurationDetailsin interfaceCuratable
-
setExperimentalDesign
-
setGeeq
-
setMeanVarianceRelation
-
setMetadata
-
setNumberOfDataVectors
-
setNumberOfCells
-
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:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Overrides:
hashCodein classAbstractDescribable
-
equals
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
- Overrides:
toStringin classAbstractDescribable
-