Interface SingleCellExpressionDataMatrix<T>
- All Superinterfaces:
ExpressionDataMatrix<T>
- All Known Implementing Classes:
AbstractSingleCellExpressionDataMatrix,EmptySingleCellExpressionDataMatrix,SingleCellExpressionDataDoubleMatrix,SingleCellExpressionDataIntMatrix
In a single-cell expression data matrix, each column represents a cell.
Note that the matrix implementation does not deal with all the complication that you may encounter in
MultiAssayBulkExpressionDataMatrix. For example, a single-cell data matrix may only hold vectors from one
given quantitation type and single-cell dimension at a time.
- Author:
- poirigui
-
Method Summary
Modifier and TypeMethodDescriptiongetBioAssayForColumn(int j) Obtain a bioassay applicable to a given column.Obtain the list of bioassays.getBioMaterialForColumn(int j) getCellIdForColumn(int j) Obtain the cell ID of a given column.Note: cell IDs are only unique within a given assayT[]getColumn(int column) Access a single column of the matrix.static SingleCellExpressionDataMatrix<?> getMatrix(List<SingleCellExpressionDataVector> vectors) Return the quantitation type for this matrix.Return the single-cell dimension for this matrix.Methods inherited from interface ubic.gemma.core.datastructure.matrix.ExpressionDataMatrix
columns, get, getDesignElementForRow, getDesignElements, getExpressionExperiment, getRow, getRow, getRowElement, getRowElements, getRowIndex, getRowIndices, rows, sliceRows
-
Method Details
-
getMatrix
-
getQuantitationType
QuantitationType getQuantitationType()Return the quantitation type for this matrix.- Specified by:
getQuantitationTypein interfaceExpressionDataMatrix<T>
-
getSingleCellDimension
SingleCellDimension getSingleCellDimension()Return the single-cell dimension for this matrix. -
getColumn
Access a single column of the matrix.Important note: Retrieving a column is a
O(n log m)operation wherenis the number of vectors andmis the number of cells. Always favour row-oriented operations when possible.- Specified by:
getColumnin interfaceExpressionDataMatrix<T>- Parameters:
column- index- Returns:
- T[]
-
getBioAssays
Obtain the list of bioassays. -
getBioAssayForColumn
Obtain a bioassay applicable to a given column. -
getBioMaterialForColumn
-
getCellIds
Note: cell IDs are only unique within a given assay -
getCellIdForColumn
Obtain the cell ID of a given column.
-