Uses of Class
ubic.basecode.dataStructure.matrix.DoubleMatrix
Packages that use DoubleMatrix
Package
Description
-
Uses of DoubleMatrix in ubic.basecode.datafilter
Methods in ubic.basecode.datafilter that return DoubleMatrixModifier and TypeMethodDescriptionItemLevelFilter.filter
(DoubleMatrix<R, C> data) RowLevelFilter.filter
(DoubleMatrix<R, C> data) Methods in ubic.basecode.datafilter with parameters of type DoubleMatrixModifier and TypeMethodDescriptionItemLevelFilter.filter
(DoubleMatrix<R, C> data) RowLevelFilter.filter
(DoubleMatrix<R, C> data) -
Uses of DoubleMatrix in ubic.basecode.dataStructure
Methods in ubic.basecode.dataStructure that return DoubleMatrixModifier and TypeMethodDescriptionstatic DoubleMatrix
<String, String> StringToStringSetMap.setMapToMatrix
(StringToStringSetMap input) -
Uses of DoubleMatrix in ubic.basecode.dataStructure.matrix
Subclasses of DoubleMatrix in ubic.basecode.dataStructure.matrixModifier and TypeClassDescriptionclass
Supports sparse matrices (where sparse means most values are zero, not that they are missing).class
DenseDoubleMatrix<R,
C> A dense matrix of doubles that knows about row and column names.class
Dense 2D matrix implementation designed for very fast access of entire rows.class
SparseDoubleMatrix<R,
C> A sparse matrix that knows about row and column names.class
A sparse matrix class where the rows are ragged and compressed.Methods in ubic.basecode.dataStructure.matrix that return DoubleMatrixModifier and TypeMethodDescriptionCompressedSparseDoubleMatrix.copy()
DenseDoubleMatrix.copy()
abstract DoubleMatrix
<R, C> DoubleMatrix.copy()
Create a deep copy of thisFastRowAccessDoubleMatrix.copy()
SparseDoubleMatrix.copy()
SparseRaggedDoubleMatrix.copy()
CompressedSparseDoubleMatrix.getColRange
(int startCol, int endCol) DenseDoubleMatrix.getColRange
(int startCol, int endCol) abstract DoubleMatrix
<R, C> DoubleMatrix.getColRange
(int startCol, int endCol) FastRowAccessDoubleMatrix.getColRange
(int startCol, int endCol) SparseDoubleMatrix.getColRange
(int startCol, int endCol) SparseRaggedDoubleMatrix.getColRange
(int startCol, int endCol) CompressedSparseDoubleMatrix.getRowRange
(int startRow, int endRow) DenseDoubleMatrix.getRowRange
(int startRow, int endRow) abstract DoubleMatrix
<R, C> DoubleMatrix.getRowRange
(int startRow, int endRow) FastRowAccessDoubleMatrix.getRowRange
(int startRow, int endRow) SparseDoubleMatrix.getRowRange
(int startRow, int endRow) SparseRaggedDoubleMatrix.getRowRange
(int startRow, int endRow) CompressedSparseDoubleMatrix.subsetColumns
(List<C> columns) DenseDoubleMatrix.subsetColumns
(List<C> columns) abstract DoubleMatrix
<R, C> DoubleMatrix.subsetColumns
(List<C> columns) Create a copy of this matrix with only the selected columns, in the selected order.FastRowAccessDoubleMatrix.subsetColumns
(List<C> columns) SparseDoubleMatrix.subsetColumns
(List<C> columns) SparseRaggedDoubleMatrix.subsetColumns
(List<C> c) CompressedSparseDoubleMatrix.subsetRows
(List<R> rowNames) DenseDoubleMatrix.subsetRows
(List<R> rowNames) abstract DoubleMatrix
<R, C> DoubleMatrix.subsetRows
(List<R> rowNames) Create a copy of this matrix with only the selected rows, in the selected order.FastRowAccessDoubleMatrix.subsetRows
(List<R> rowNames) SparseDoubleMatrix.subsetRows
(List<R> rowNames) SparseRaggedDoubleMatrix.subsetRows
(List<R> rowNames) CompressedSparseDoubleMatrix.transpose()
DenseDoubleMatrix.transpose()
abstract DoubleMatrix
<C, R> DoubleMatrix.transpose()
FastRowAccessDoubleMatrix.transpose()
SparseDoubleMatrix.transpose()
SparseRaggedDoubleMatrix.transpose()
Methods in ubic.basecode.dataStructure.matrix with parameters of type DoubleMatrixModifier and TypeMethodDescriptionstatic DenseDoubleMatrix
<String, String> DoubleMatrixFactory.dense
(DoubleMatrix<String, String> T) Creates a matrix in which the underlying data is a copy; the row and column labels are not copied. -
Uses of DoubleMatrix in ubic.basecode.graphics
Fields in ubic.basecode.graphics declared as DoubleMatrixMethods in ubic.basecode.graphics that return DoubleMatrixModifier and TypeMethodDescriptionColorMatrix.getMatrix()
MatrixDisplay.getMatrix()
ColorMatrix.getMaxtrix()
Methods in ubic.basecode.graphics with parameters of type DoubleMatrixModifier and TypeMethodDescriptionstatic <R,
C> ColorMatrix <R, C> ColorMatrix.newInstance
(DoubleMatrix<R, C> matrix) Constructors in ubic.basecode.graphics with parameters of type DoubleMatrixModifierConstructorDescriptionColorMatrix
(DoubleMatrix<A, B> matrix) ColorMatrix
(DoubleMatrix<A, B> matrix, Color[] colorMap, Color missingColor) MatrixDisplay
(DoubleMatrix<R, C> matrix) -
Uses of DoubleMatrix in ubic.basecode.io.reader
Methods in ubic.basecode.io.reader that return DoubleMatrixModifier and TypeMethodDescriptionprotected DoubleMatrix
<String, String> DoubleMatrixReader.createMatrix
(List<DoubleArrayList> MTemp, List<String> rowNames, List<String> colNames1) DoubleMatrixReader.read
(InputStream stream) DoubleMatrixReader.read
(InputStream stream, Collection<String> wantedRowNames) DoubleMatrixReader.read
(InputStream stream, Collection<String> wantedRowNames, boolean createEmptyRows, int skipColumns, int maxRows) DoubleMatrixReader.read
(InputStream stream, Collection<String> wantedRowNames, int numberOfColumnsToSkip) DoubleMatrixReader.read
(String filename, Collection<String> wantedRowNames) Read a matrix from a file, subject to filtering criteria.DoubleMatrixReader.read
(String fileName, Collection<String> wantedRowNames, int numberOfColumnsToSkip) SparseDoubleMatrixReader.read
(InputStream stream) Read a sparse matrix that is expressed as an adjacency list in a tab-delimited file:SparseDoubleMatrixReader.read
(InputStream stream, Collection<String> wantedRowNames) SparseDoubleMatrixReader.read
(InputStream stream, Collection<String> wantedRowNames, boolean createEmptyRows, int skipColumns, int maxRows) SparseRaggedMatrixReader.read
(InputStream stream, int offset) Read an entire sparse matrix from a stream (JW format).SparseRaggedMatrixReader.readFromAdjList
(InputStream stream) SparseRaggedMatrixReader.readFromAdjList
(String fileName) Read a sparse symmetric square matrix that is expressed as an adjacency list in a tab-delimited file:SparseDoubleMatrixReader.readJW
(InputStream stream) Read a sparse matrix in "JW" (Jason Weston) format.SparseRaggedMatrixReader.readOneRow
(BufferedReader dis, int offset) Use this to read one row from a matrix (JW format). -
Uses of DoubleMatrix in ubic.basecode.math
Methods in ubic.basecode.math that return DoubleMatrixModifier and TypeMethodDescriptionstatic <R,
C> DoubleMatrix <R, C> MatrixStats.convertToLog2Cpm
(DoubleMatrix<R, C> matrix, DoubleMatrix1D librarySize) Convert a count matrix to log2 counts per million.static <R,
C> DoubleMatrix <R, R> MatrixStats.correlationMatrix
(DoubleMatrix<R, C> data) Compute the correlation matrix of the rows of a matrix.static <R,
C> DoubleMatrix <R, C> MatrixStats.doubleStandardize
(DoubleMatrix<R, C> matrix) Iteratively standardize the columns and rows of the matrix.MatrixNormalizer.quantileNormalize
(DoubleMatrix<R, C> matrix) Rows with all missing will not be returned.static <R,
C> DoubleMatrix <R, C> MatrixStats.standardize
(DoubleMatrix<R, C> matrix) Scale the rows of the matrix; returns a new matrix.Methods in ubic.basecode.math with parameters of type DoubleMatrixModifier and TypeMethodDescriptionstatic <R,
C> DoubleMatrix1D MatrixStats.colSums
(DoubleMatrix<R, C> data) NaN values are omitted from calculations.static <R,
C> void MatrixStats.convertToLog2
(DoubleMatrix<R, C> matrix, double base) Convert a log_b-transformed data set to log 2.static <R,
C> DoubleMatrix <R, C> MatrixStats.convertToLog2Cpm
(DoubleMatrix<R, C> matrix, DoubleMatrix1D librarySize) Convert a count matrix to log2 counts per million.static <R,
C> DoubleMatrix <R, R> MatrixStats.correlationMatrix
(DoubleMatrix<R, C> data) Compute the correlation matrix of the rows of a matrix.static <R,
C> SparseDoubleMatrix <R, R> MatrixStats.correlationMatrix
(DoubleMatrix<R, C> data, double threshold) static <R,
C> DoubleMatrix <R, C> MatrixStats.doubleStandardize
(DoubleMatrix<R, C> matrix) Iteratively standardize the columns and rows of the matrix.static <R,
C> void MatrixStats.logTransform
(DoubleMatrix<R, C> matrix) Log-transform the values in a matrix (log base 2).static <R,
C> double MatrixStats.max
(DoubleMatrix<R, C> matrix) Compute the maximum value in the matrix.static <R,
C> DoubleArrayList MatrixRowStats.means
(DoubleMatrix<R, C> M) Calculates the means of a matrix's rows.static <R,
C> double MatrixStats.min
(DoubleMatrix<R, C> matrix) Find the minimum of the entire matrix.MatrixNormalizer.quantileNormalize
(DoubleMatrix<R, C> matrix) Rows with all missing will not be returned.static <R,
C> void MatrixStats.rbfNormalize
(DoubleMatrix<R, C> matrixToNormalize, double sigma) Normalize a matrix in place to be a transition matrix.static <R,
C> DoubleArrayList MatrixRowStats.sampleStandardDeviations
(DoubleMatrix<R, C> M) Calculates the sample standard deviation of each row of a matrixstatic <R,
C> DoubleMatrix <R, C> MatrixStats.standardize
(DoubleMatrix<R, C> matrix) Scale the rows of the matrix; returns a new matrix.static <R,
C> DoubleArrayList MatrixRowStats.sumOfSquares
(DoubleMatrix<R, C> M) Calculates the sum of squares for each row of a matrixstatic <R,
C> DoubleArrayList MatrixRowStats.sums
(DoubleMatrix<R, C> M) Calculate the sums of a matrix's rows.static <R,
C> void MatrixStats.unLogTransform
(DoubleMatrix<R, C> matrix) Undo log2 transform. -
Uses of DoubleMatrix in ubic.basecode.math.linalg
Methods in ubic.basecode.math.linalg that return DoubleMatrixModifier and TypeMethodDescriptionSingularValueDecomposition.getS()
SingularValueDecomposition.getU()
SingularValueDecomposition.getV()
Constructors in ubic.basecode.math.linalg with parameters of type DoubleMatrix -
Uses of DoubleMatrix in ubic.basecode.math.linearmodels
Methods in ubic.basecode.math.linearmodels that return DoubleMatrixModifier and TypeMethodDescriptionLinearModelSummary.getContrastCoefficients()
DesignMatrix.getMatrix()
Methods in ubic.basecode.math.linearmodels with parameters of type DoubleMatrixModifier and TypeMethodDescriptionstatic Map
<String, Collection<String>> LinearModelSummaryUtils.createTerm2CoefficientNames
(List<String> factorNames, DoubleMatrix<String, String> contrastCoefficients) Constructors in ubic.basecode.math.linearmodels with parameters of type DoubleMatrixModifierConstructorDescriptionLeastSquaresFit
(ObjectMatrix<String, String, Object> design, DoubleMatrix<String, String> b) NamedMatrix allows easier handling of the results.LeastSquaresFit
(ObjectMatrix<String, String, Object> design, DoubleMatrix<String, String> data, boolean interactions) NamedMatrix allows easier handling of the results.LeastSquaresFit
(DesignMatrix designMatrix, DoubleMatrix<String, String> data) Preferred interface if you want control over how the design is set up.LeastSquaresFit
(DesignMatrix designMatrix, DoubleMatrix<String, String> data, DoubleMatrix2D weights) Weighted least squares fit between two matricesMeanVarianceEstimator
(DesignMatrix designMatrix, DoubleMatrix<String, String> data, DoubleMatrix1D librarySize) Preferred interface if you want control over how the design is set up. -
Uses of DoubleMatrix in ubic.basecode.util
Methods in ubic.basecode.util with parameters of type DoubleMatrixModifier and TypeMethodDescriptionstatic boolean
RegressionTesting.closeEnough
(DoubleMatrix<?, ?> expected, DoubleMatrix<?, ?> actual, double tolerance) Test whether two AbstractNamedDoubleMatrix are 'close enough' to call equal. -
Uses of DoubleMatrix in ubic.basecode.util.r
Methods in ubic.basecode.util.r that return DoubleMatrixModifier and TypeMethodDescriptionJRIClient.retrieveMatrix
(String variableName) RClient.retrieveMatrix
(String variableName) Get a matrix back out of the R context.RServeClient.retrieveMatrix
(String variableName) Methods in ubic.basecode.util.r with parameters of type DoubleMatrixModifier and TypeMethodDescriptionAbstractRClient.assignMatrix
(DoubleMatrix<?, ?> matrix) AbstractRClient.assignMatrix
(DoubleMatrix<?, ?> matrix, org.apache.commons.collections4.Transformer rowNameExtractor) RClient.assignMatrix
(DoubleMatrix<?, ?> matrix) Assign a 2-d matrix.RClient.assignMatrix
(DoubleMatrix<?, ?> matrix, org.apache.commons.collections4.Transformer rowNameExtractor) Assign a 2-d matrix.