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, getRowIndex
public ExpressionDataIntegerMatrix(Collection<? extends DesignElementDataVector> vectors)
public int columns()
ExpressionDataMatrix
public Integer get(CompositeSequence designElement, BioAssay bioAssay)
ExpressionDataMatrix
designElement
- debioAssay
- bapublic Integer get(int row, int column)
ExpressionDataMatrix
row
- rowcolumn
- colpublic Integer[][] get(List<CompositeSequence> designElements, List<BioAssay> bioAssays)
ExpressionDataMatrix
designElements
- debioAssays
- baspublic Integer[] getColumn(BioAssay bioAssay)
ExpressionDataMatrix
bioAssay
- ipublic Integer[] getColumn(Integer index)
ExpressionDataMatrix
index
- indexpublic Integer[][] getColumns(List<BioAssay> bioAssays)
ExpressionDataMatrix
bioAssays
- bapublic Integer[][] getRawMatrix()
ExpressionDataMatrix
public Integer[] getRow(CompositeSequence designElement)
ExpressionDataMatrix
designElement
- depublic Integer[] getRow(Integer index)
ExpressionDataMatrix
index
- ipublic Integer[][] getRows(List<CompositeSequence> designElements)
ExpressionDataMatrix
designElements
- depublic boolean hasMissingValues()
public int rows()
public void set(int row, int column, Integer value)
ExpressionDataMatrix
row
- 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.