org.genepattern.data.expr
Interface IExpressionData

All Known Subinterfaces:
IResExpressionData
All Known Implementing Classes:
ExpressionData, ResExpressionData

public interface IExpressionData

An interface for expression data.


Method Summary
 int getColumnCount()
          Gets the number of column in the expression data matrix
 java.lang.String getColumnDescription(int column)
          Gets the column description at the given column or null if no column description exists.
 int getColumnIndex(java.lang.String columnName)
          Gets the column index for the column name .
 java.lang.String getColumnName(int column)
          Gets the column name at the given column
 int getRowCount()
          Gets the number of rows in the expression data matrix
 java.lang.String getRowDescription(int row)
          Gets the row description at the given row or null if no row description exists.
 int getRowIndex(java.lang.String rowName)
          Gets the row index for the row name .
 java.lang.String getRowName(int row)
          Gets the row name at the given row
 double getValue(int row, int column)
          Gets the expression value at the given row and column.
 java.lang.String getValueAsString(int row, int column)
          Gets the value at the given row and column as a string.
 

Method Detail

getValueAsString

public java.lang.String getValueAsString(int row,
                                         int column)
Gets the value at the given row and column as a string.

Parameters:
row - The row
column - The column
Returns:
The expression value

getValue

public double getValue(int row,
                       int column)
Gets the expression value at the given row and column.

Parameters:
row - The row
column - The column
Returns:
The expression value

getRowName

public java.lang.String getRowName(int row)
Gets the row name at the given row

Parameters:
row - The row
Returns:
The row name

getRowCount

public int getRowCount()
Gets the number of rows in the expression data matrix

Returns:
The number of rows

getColumnCount

public int getColumnCount()
Gets the number of column in the expression data matrix

Returns:
The number of column

getColumnName

public java.lang.String getColumnName(int column)
Gets the column name at the given column

Parameters:
column - The column
Returns:
The column name

getRowDescription

public java.lang.String getRowDescription(int row)
Gets the row description at the given row or null if no row description exists.

Parameters:
row - The row
Returns:
The row description

getColumnDescription

public java.lang.String getColumnDescription(int column)
Gets the column description at the given column or null if no column description exists.

Parameters:
column - The column
Returns:
The column description

getRowIndex

public int getRowIndex(java.lang.String rowName)
Gets the row index for the row name .

Parameters:
rowName - the row name.
Returns:
the row index, or -1 if the row name is not contained in this matrix

getColumnIndex

public int getColumnIndex(java.lang.String columnName)
Gets the column index for the column name .

Parameters:
columnName - the column name.
Returns:
the column index, or -1 if the column name is not contained in this matrix


Hosted by docs.bugaco.com