Class SingleCellExpressionDataVector
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.expression.bioAssayData.DataVector
ubic.gemma.model.expression.bioAssayData.DesignElementDataVector
ubic.gemma.model.expression.bioAssayData.SingleCellExpressionDataVector
- All Implemented Interfaces:
Identifiable
An expression data vector that contains data at the resolution of individual cells.
This is achieved by storing cell metadata such as IDs and cell types in a SingleCellDimension that is shared
among all vectors of a given ExpressionExperiment and individual
non-zero cell expression in a sparse data structure similar to the rows of a CSR matrix.
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: Two objects with the same class and non-null ID must be considered equal.int[]Positions of the non-zero data in theDataVector.getData()vector.The original design element that was used to create this vector.The dimension of the single-cell data which is shared among all the vectors.voidsetDataIndices(int[] dataIndices) Positions of the non-zero data in theDataVector.getData()vector.voidsetOriginalDesignElement(String originalDesignElement) voidsetSingleCellDimension(SingleCellDimension singleCellDimension) The dimension of the single-cell data which is shared among all the vectors.toString()Methods inherited from class ubic.gemma.model.expression.bioAssayData.DesignElementDataVector
getDesignElement, hashCode, setDesignElementMethods inherited from class ubic.gemma.model.expression.bioAssayData.DataVector
getData, getDataAsBooleans, getDataAsBuffer, getDataAsChars, getDataAsDoubleBuffer, getDataAsDoubles, getDataAsFloatBuffer, getDataAsFloats, getDataAsIntBuffer, getDataAsInts, getDataAsLongBuffer, getDataAsLongs, getDataAsObjects, getDataAsStrings, getDataAsTabbedStrings, getExpressionExperiment, getQuantitationType, setData, setDataAsBooleans, setDataAsChars, setDataAsDoubles, setDataAsFloats, setDataAsInts, setDataAsLongs, setDataAsObjects, setDataAsStrings, setDataAsTabbedStrings, setExpressionExperiment, setQuantitationTypeMethods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId
-
Constructor Details
-
SingleCellExpressionDataVector
public SingleCellExpressionDataVector()
-
-
Method Details
-
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 classAbstractIdentifiable
-
getOriginalDesignElement
Description copied from class:DesignElementDataVectorThe original design element that was used to create this vector.This is generally null, but if the data was imported and a mapping was done between some external data source and one of Gemma's platform, this will contain the original ID.
- Specified by:
getOriginalDesignElementin classDesignElementDataVector
-
getSingleCellDimension
The dimension of the single-cell data which is shared among all the vectors.This is shared among all the single-cell vectors of the associated
ExpressionExperiment. -
getDataIndices
public int[] getDataIndices()Positions of the non-zero data in theDataVector.getData()vector.This is mapped in the database using
ByteArrayType. -
setOriginalDesignElement
-
setSingleCellDimension
The dimension of the single-cell data which is shared among all the vectors.This is shared among all the single-cell vectors of the associated
ExpressionExperiment. -
setDataIndices
public void setDataIndices(int[] dataIndices) Positions of the non-zero data in theDataVector.getData()vector.This is mapped in the database using
ByteArrayType.
-