Matrix Module

Contains correlation functions optimized for matrices

Functions and values

Function or value Description

columnWiseBicor m

Full Usage: columnWiseBicor m

Parameters:
Returns: Matrix<float>

Computes the columnwise biweighted midcorrelation matrix for the input matrix

m : matrix

Returns: Matrix<float>

Example

columnWiseCorrelationMatrix corrFunction m

Full Usage: columnWiseCorrelationMatrix corrFunction m

Parameters:
    corrFunction : seq<float> -> seq<float> -> float -
    m : Matrix<float> -

Returns: Matrix<float>

computes a matrix that contains the metric given by the corrFunction parameter applied columnwise for every column against every other column of the input matrix

corrFunction : seq<float> -> seq<float> -> float

m : Matrix<float>

Returns: Matrix<float>

Example

columnWisePearson m

Full Usage: columnWisePearson m

Parameters:
Returns: Matrix<float>

computes the columnwise pearson correlation matrix for the input matrix

m : Matrix<float>

Returns: Matrix<float>

Example

rowWiseBicor m

Full Usage: rowWiseBicor m

Parameters:
Returns: Matrix<float>

Computes the rowwise biweighted midcorrelation matrix for the input matrix

m : matrix

Returns: Matrix<float>

Example

rowWiseCorrelationMatrix corrFunction m

Full Usage: rowWiseCorrelationMatrix corrFunction m

Parameters:
    corrFunction : seq<float> -> seq<float> -> float -
    m : matrix -

Returns: Matrix<float>

computes a matrix that contains the metric given by the corrFunction parameter applied rowwise for every row against every other row of the input matrix

corrFunction : seq<float> -> seq<float> -> float

m : matrix

Returns: Matrix<float>

Example

rowWisePearson m

Full Usage: rowWisePearson m

Parameters:
Returns: Matrix<float>

computes the rowwise pearson correlation matrix for the input matrix

m : Matrix<float>

Returns: Matrix<float>

Example

rv2 x y

Full Usage: rv2 x y

Parameters:
Returns: float

Computes the rv2 coefficient.

x : matrix

y : matrix

Returns: float

Example