Interface ExpressionDataMatrix<T>

    • Method Detail

      • getExpressionExperiment

        ExpressionExperiment getExpressionExperiment()
        Return the expression experiment this matrix is holding data for.
      • getDesignElements

        List<CompositeSequence> getDesignElements()
        Obtain all the design elements in this data matrix.
      • columns

        int columns()
        Obtain the total number of columns.
      • getColumn

        T[] getColumn​(int column)
        Access a single column of the matrix.
        Parameters:
        column - index
        Returns:
        T[]
        Throws:
        IndexOutOfBoundsException - if the supplied index is not within zero and columns()
      • rows

        int rows()
        Returns:
        int
      • getRow

        T[] getRow​(int index)
        Access a single row of the matrix, by index. A complete row is returned.
        Parameters:
        index - i
        Returns:
        t[]
        Throws:
        IndexOutOfBoundsException - if the supplied index is not within zero and rows()
      • getRow

        @Nullable
        T[] getRow​(CompositeSequence designElement)
        Return a row that 'came from' the given design element.
        Parameters:
        designElement - de
        Returns:
        the corresponding row or null if the design element is not found in the matrix
      • getRowIndex

        int getRowIndex​(CompositeSequence designElement)
        Returns:
        the index for the given design element, or -1 if not found
      • get

        T get​(int row,
              int column)
        Access a single value of the matrix by row and column.
        Throws:
        IndexOutOfBoundsException - if either the row or column is outside the matrix bounds