public interface ExpressionDataMatrix<T>
Modifier and Type | Method and Description |
---|---|
int |
columns()
Total number of columns.
|
int |
columns(CompositeSequence el)
Number of columns that use the given design element.
|
T |
get(CompositeSequence designElement,
BioAssay bioAssay)
Access a single value of the matrix.
|
T |
get(int row,
int column)
Access a single value of the matrix.
|
T[][] |
get(List<CompositeSequence> designElements,
List<BioAssay> bioAssays)
Access a submatrix
|
BioAssayDimension |
getBestBioAssayDimension() |
BioAssayDimension |
getBioAssayDimension(CompositeSequence designElement)
Produce a BioAssayDimension representing the matrix columns for a specific row.
|
Collection<BioAssay> |
getBioAssaysForColumn(int index) |
BioMaterial |
getBioMaterialForColumn(int index) |
T[] |
getColumn(BioAssay bioAssay)
Access a single column of the matrix.
|
T[] |
getColumn(Integer column)
Access a single column of the matrix.
|
int |
getColumnIndex(BioMaterial bioMaterial) |
T[][] |
getColumns(List<BioAssay> bioAssays)
Access a submatrix slice by columns
|
CompositeSequence |
getDesignElementForRow(int index) |
List<CompositeSequence> |
getDesignElements()
Obtain all the design elements in this data matrix.
|
ExpressionExperiment |
getExpressionExperiment()
Return the expression experiment this matrix is holding data for.
|
Collection<QuantitationType> |
getQuantitationTypes()
Return the quantitation types for this matrix.
|
T[][] |
getRawMatrix()
Access the entire matrix.
|
T[] |
getRow(CompositeSequence designElement)
Return a row that 'came from' the given design element.
|
T[] |
getRow(Integer index)
Access a single row of the matrix, by index.
|
List<ExpressionDataMatrixRowElement> |
getRowElements() |
int |
getRowIndex(CompositeSequence designElement) |
T[][] |
getRows(List<CompositeSequence> designElements)
Access a submatrix
|
boolean |
hasMissingValues() |
int |
rows() |
void |
set(int row,
int column,
T value)
Set a value in the matrix, by index
|
int columns()
int columns(CompositeSequence el)
el
- elT get(CompositeSequence designElement, BioAssay bioAssay)
designElement
- debioAssay
- baT get(int row, int column)
row
- rowcolumn
- colT[][] get(List<CompositeSequence> designElements, List<BioAssay> bioAssays)
designElements
- debioAssays
- basBioAssayDimension getBestBioAssayDimension()
IllegalStateException
- if there isn't a single bioassaydimension that encapsulates all the biomaterials
used in the experiment.BioAssayDimension getBioAssayDimension(CompositeSequence designElement)
designElement
- deCollection<BioAssay> getBioAssaysForColumn(int index)
index
- iBioMaterial getBioMaterialForColumn(int index)
index
- iT[] getColumn(BioAssay bioAssay)
bioAssay
- iT[] getColumn(Integer column)
column
- indexint getColumnIndex(BioMaterial bioMaterial)
bioMaterial
- bmT[][] getColumns(List<BioAssay> bioAssays)
bioAssays
- baList<CompositeSequence> getDesignElements()
CompositeSequence getDesignElementForRow(int index)
index
- iExpressionExperiment getExpressionExperiment()
Collection<QuantitationType> getQuantitationTypes()
T[][] getRawMatrix()
T[] getRow(CompositeSequence designElement)
designElement
- deT[] getRow(Integer index)
index
- iList<ExpressionDataMatrixRowElement> getRowElements()
int getRowIndex(CompositeSequence designElement)
T[][] getRows(List<CompositeSequence> designElements)
designElements
- deboolean hasMissingValues()
int rows()
void set(int row, int column, T value)
row
- rowcolumn
- colvalue
- valCopyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.