Class ExpressionDataIntegerMatrix

    • Method Detail

      • columns

        public int columns()
        Description copied from interface: ExpressionDataMatrix
        Total number of columns.
        Returns:
        int
      • get

        public Integer get​(CompositeSequence designElement,
                           BioAssay bioAssay)
        Description copied from interface: ExpressionDataMatrix
        Access a single value of the matrix. Note that because there can be multiple bioassays per column and multiple designelements per row, it is possible for this method to retrieve a data that does not come from the bioassay and/or designelement arguments.
        Parameters:
        designElement - de
        bioAssay - ba
        Returns:
        T t
      • get

        public Integer get​(int row,
                           int column)
        Description copied from interface: ExpressionDataMatrix
        Access a single value of the matrix. This is generally the easiest way to do it.
        Parameters:
        row - row
        column - col
        Returns:
        t
      • getColumn

        public Integer[] getColumn​(BioAssay bioAssay)
        Description copied from interface: ExpressionDataMatrix
        Access a single column of the matrix.
        Parameters:
        bioAssay - i
        Returns:
        T[]
      • getColumn

        public Integer[] getColumn​(Integer index)
        Description copied from interface: ExpressionDataMatrix
        Access a single column of the matrix.
        Parameters:
        index - index
        Returns:
        T[]
      • getColumns

        public Integer[][] getColumns​(List<BioAssay> bioAssays)
        Description copied from interface: ExpressionDataMatrix
        Access a submatrix slice by columns
        Parameters:
        bioAssays - ba
        Returns:
        t[][]
      • getRawMatrix

        public Integer[][] getRawMatrix()
        Description copied from interface: ExpressionDataMatrix
        Access the entire matrix.
        Returns:
        T[][]
      • getRow

        public Integer[] getRow​(CompositeSequence designElement)
        Description copied from interface: ExpressionDataMatrix
        Return a row that 'came from' the given design element.
        Parameters:
        designElement - de
        Returns:
        t
      • getRow

        public Integer[] getRow​(Integer index)
        Description copied from interface: ExpressionDataMatrix
        Access a single row of the matrix, by index. A complete row is returned.
        Parameters:
        index - i
        Returns:
        t[]
      • hasMissingValues

        public boolean hasMissingValues()
        Returns:
        true if any values are null or NaN (for Doubles); all other values are considered non-missing.
      • rows

        public int rows()
        Returns:
        int
      • set

        public void set​(int row,
                        int column,
                        Integer value)
        Description copied from interface: ExpressionDataMatrix
        Set a value in the matrix, by index
        Parameters:
        row - row
        column - col
        value - val