Interface SingleCellExpressionDataMatrix<T>
-
- All Superinterfaces:
ExpressionDataMatrix<T>
- All Known Implementing Classes:
SingleCellExpressionDataDoubleMatrix
,SingleCellExpressionDataIntMatrix
public interface SingleCellExpressionDataMatrix<T> extends ExpressionDataMatrix<T>
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
BulkExpressionDataMatrix
. 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BioAssay
getBioAssayForColumn(int j)
Obtain a bioassay applicable to a given column.List<BioAssay>
getBioAssays()
Obtain the list of bioassays.String
getCellIdForColumn(int j)
Obtain the cell ID of a given column.List<String>
getCellIds()
Note: cell IDs are only unique within a given assayT[]
getColumn(int column)
Access a single column of the matrix.QuantitationType
getQuantitationType()
Return the quantitation type for this matrix.SingleCellDimension
getSingleCellDimension()
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, getRowElement, getRowElements, getRowIndex, rows
-
-
-
-
Method Detail
-
getQuantitationType
QuantitationType getQuantitationType()
Return the quantitation type for this matrix.
-
getSingleCellDimension
SingleCellDimension getSingleCellDimension()
Return the single-cell dimension for this matrix.
-
getColumn
T[] getColumn(int column)
Access a single column of the matrix.Important note: Retrieving a column is a
O(n log m)
operation wheren
is the number of vectors andm
is the number of cells. Always favour row-oriented operations when possible.- Specified by:
getColumn
in interfaceExpressionDataMatrix<T>
- Parameters:
column
- index- Returns:
- T[]
-
getBioAssayForColumn
BioAssay getBioAssayForColumn(int j)
Obtain a bioassay applicable to a given column.
-
getCellIdForColumn
String getCellIdForColumn(int j)
Obtain the cell ID of a given column.
-
-