public class ExpressionDataIntegerMatrix extends BaseExpressionDataMatrix<Integer>
| Constructor and Description |
|---|
ExpressionDataIntegerMatrix(Collection<? extends DesignElementDataVector> vectors) |
| Modifier and Type | Method and Description |
|---|---|
int |
columns()
Total number of columns.
|
Integer |
get(CompositeSequence designElement,
BioAssay bioAssay)
Access a single value of the matrix.
|
Integer |
get(CompositeSequence designElement,
BioMaterial bioMaterial) |
Integer |
get(int row,
int column)
Access a single value of the matrix.
|
Integer[][] |
get(List<CompositeSequence> designElements,
List<BioAssay> bioAssays)
Access a submatrix
|
Integer[] |
getColumn(BioAssay bioAssay)
Access a single column of the matrix.
|
Integer[] |
getColumn(Integer index)
Access a single column of the matrix.
|
Integer[][] |
getColumns(List<BioAssay> bioAssays)
Access a submatrix slice by columns
|
Integer[][] |
getRawMatrix()
Access the entire matrix.
|
Integer[] |
getRow(CompositeSequence designElement)
Return a row that 'came from' the given design element.
|
Integer[] |
getRow(Integer index)
Access a single row of the matrix, by index.
|
Collection<CompositeSequence> |
getRowMap() |
Integer[][] |
getRows(List<CompositeSequence> designElements)
Access a submatrix
|
boolean |
hasMissingValues() |
int |
rows() |
void |
set(int row,
int column,
Integer value)
Set a value in the matrix, by index
|
protected void |
vectorsToMatrix(Collection<? extends DesignElementDataVector> vectors) |
columns, getBestBioAssayDimension, getBioAssayDimension, getBioAssaysForColumn, getBioMaterialForColumn, getColumnIndex, getDesignElementForRow, getDesignElements, getExpressionExperiment, getQuantitationTypes, getRowElement, getRowElements, getRowIndexpublic ExpressionDataIntegerMatrix(Collection<? extends DesignElementDataVector> vectors)
public int columns()
ExpressionDataMatrixpublic Integer get(CompositeSequence designElement, BioAssay bioAssay)
ExpressionDataMatrixdesignElement - debioAssay - bapublic Integer get(int row, int column)
ExpressionDataMatrixrow - rowcolumn - colpublic Integer[][] get(List<CompositeSequence> designElements, List<BioAssay> bioAssays)
ExpressionDataMatrixdesignElements - debioAssays - baspublic Integer[] getColumn(BioAssay bioAssay)
ExpressionDataMatrixbioAssay - ipublic Integer[] getColumn(Integer index)
ExpressionDataMatrixindex - indexpublic Integer[][] getColumns(List<BioAssay> bioAssays)
ExpressionDataMatrixbioAssays - bapublic Integer[][] getRawMatrix()
ExpressionDataMatrixpublic Integer[] getRow(CompositeSequence designElement)
ExpressionDataMatrixdesignElement - depublic Integer[] getRow(Integer index)
ExpressionDataMatrixindex - ipublic Integer[][] getRows(List<CompositeSequence> designElements)
ExpressionDataMatrixdesignElements - depublic boolean hasMissingValues()
public int rows()
public void set(int row,
int column,
Integer value)
ExpressionDataMatrixrow - rowcolumn - colvalue - valpublic Integer get(CompositeSequence designElement, BioMaterial bioMaterial)
public Collection<CompositeSequence> getRowMap()
protected void vectorsToMatrix(Collection<? extends DesignElementDataVector> vectors)
vectorsToMatrix in class BaseExpressionDataMatrix<Integer>Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.