corrDist: Correlation distances in a sparse matrix

View source: R/clustering.R

corrDistR Documentation

Correlation distances in a sparse matrix

Description

Computes the correlation distances between pairs of columns of a sparse matrix.

Usage

corrDist(X)

Arguments

X

A sparse matrix (Matrix).

Details

The correlation distance between two columns of a matrix is simply 1 minus the correlation between them.

Value

An nxn distance matrix, when the input sparse matrix has n columns

Author(s)

Lars Snipen.

See Also

genomeClustering.


larssnip/microRMS documentation built on July 19, 2023, 1:06 a.m.