clust.dist {EMA}R Documentation

Computes distances on a data matrix

Description

Computes distances between the columns of an expression matrix using the specified distance measure.

Usage

clust.dist(mat, meth.dis="euclidean")

Arguments

mat

Expression matrix, genes on rows and samples on columns

meth.dis

Character string specifying the distance measure to be used. This must be one of 'euclidean', 'manhattan', 'pearson', 'pearsonabs', 'spearman', 'spearmanabs', 'jaccard', 'dice'

Details

Available distance measures are (written for two vectors x and y):

Value

A distance matrix.

Author(s)

EMA group

See Also

jaccard,dice,daisy


[Package EMA version 1.3.2 Index]