Class EmptyBulkExpressionDataMatrix
- java.lang.Object
-
- ubic.gemma.core.datastructure.matrix.AbstractExpressionDataMatrix<T>
-
- ubic.gemma.core.datastructure.matrix.AbstractBulkExpressionDataMatrix<Object>
-
- ubic.gemma.core.datastructure.matrix.EmptyBulkExpressionDataMatrix
-
- All Implemented Interfaces:
BulkExpressionDataMatrix<Object>
,ExpressionDataMatrix<Object>
public class EmptyBulkExpressionDataMatrix extends AbstractBulkExpressionDataMatrix<Object>
An empty bulk expression data matrix.- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description EmptyBulkExpressionDataMatrix(ExpressionExperiment expressionExperiment, BioAssayDimension dimension, QuantitationType quantitationType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
format(int i, int j)
Format a matrix entry at a particular row/column.Object
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[][]
getRawMatrix()
Access the entire matrix.Object[]
getRow(int index)
Access a single row of the matrix, by index.boolean
hasMissingValues()
-
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, rows
-
Methods inherited from class ubic.gemma.core.datastructure.matrix.AbstractExpressionDataMatrix
format, format, formatRepresentation, toString
-
-
-
-
Constructor Detail
-
EmptyBulkExpressionDataMatrix
public EmptyBulkExpressionDataMatrix(ExpressionExperiment expressionExperiment, BioAssayDimension dimension, QuantitationType quantitationType)
-
-
Method Detail
-
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
public Object[][] getRawMatrix()
Description copied from interface:BulkExpressionDataMatrix
Access the entire matrix.- Returns:
- T[][]
-
getColumn
public Object[] getColumn(int column)
Description copied from interface:ExpressionDataMatrix
Access a single column of the matrix.- Parameters:
column
- index- Returns:
- T[]
-
getRow
public Object[] getRow(int index)
Description copied from interface:ExpressionDataMatrix
Access a single row of the matrix, by index. A complete row is returned.- Parameters:
index
- i- Returns:
- t[]
-
get
public Object get(int row, int column)
Description copied from interface:ExpressionDataMatrix
Access a single value of the matrix by row and column.
-
format
protected String format(int i, int j)
Description copied from class:AbstractExpressionDataMatrix
Format a matrix entry at a particular row/column.- Specified by:
format
in classAbstractExpressionDataMatrix<Object>
-
-