Class EmptyBulkExpressionDataMatrix
java.lang.Object
ubic.gemma.core.datastructure.matrix.AbstractExpressionDataMatrix<Object>
ubic.gemma.core.datastructure.matrix.AbstractBulkExpressionDataMatrix<Object>
ubic.gemma.core.datastructure.matrix.EmptyBulkExpressionDataMatrix
- All Implemented Interfaces:
BulkExpressionDataMatrix<Object>,ExpressionDataMatrix<Object>
An empty bulk expression data matrix.
- Author:
- poirigui
-
Constructor Summary
ConstructorsConstructorDescriptionEmptyBulkExpressionDataMatrix(ExpressionExperiment expressionExperiment, BioAssayDimension dimension, QuantitationType quantitationType) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringformat(int i, int j) Format a matrix entry at a particular row/column.get(int row, int column) Access a single value of the matrix by row and column.Object[]getColumn(int column) Access a single column of the matrix.Object[][]Access the entire matrix.Object[]getRow(int index) Access a single row of the matrix, by index.booleansliceRows(List<CompositeSequence> designElements) Methods inherited from class ubic.gemma.core.datastructure.matrix.AbstractBulkExpressionDataMatrix
columns, get, getBioAssayDimension, getBioAssayForColumn, getBioMaterialForColumn, getColumn, getColumnIndex, getColumnIndex, getColumnLabel, getDesignElementForRow, getDesignElements, getExpressionExperiment, getQuantitationType, getRow, getRowElement, getRowElements, getRowIndex, getRowIndices, getRowLabel, rowsMethods inherited from class ubic.gemma.core.datastructure.matrix.AbstractExpressionDataMatrix
format, format, formatRepresentation, toString
-
Constructor Details
-
EmptyBulkExpressionDataMatrix
public EmptyBulkExpressionDataMatrix(ExpressionExperiment expressionExperiment, BioAssayDimension dimension, QuantitationType quantitationType)
-
-
Method Details
-
hasMissingValues
public boolean hasMissingValues()- Returns:
- true if any values are null or NaN (for doubles and floats); any other value that is considered missing.
-
getRawMatrix
Description copied from interface:BulkExpressionDataMatrixAccess the entire matrix.- Returns:
- T[][]
-
getColumn
Description copied from interface:ExpressionDataMatrixAccess a single column of the matrix.- Parameters:
column- index- Returns:
- T[]
-
getRow
Description copied from interface:ExpressionDataMatrixAccess a single row of the matrix, by index. A complete row is returned.- Parameters:
index- i- Returns:
- t[]
-
sliceRows
-
get
Description copied from interface:ExpressionDataMatrixAccess a single value of the matrix by row and column. -
format
Description copied from class:AbstractExpressionDataMatrixFormat a matrix entry at a particular row/column.- Specified by:
formatin classAbstractExpressionDataMatrix<Object>
-