man {bioDist}R Documentation

Manhattan distance

Description

Calculate pairwise Manhattan distances for all rows of a matrix and save as a dist object.

Usage

man(x, ...)

Arguments

x A matrix or an ExpressionSet; if x is an ExpressionSet, the function uses its 'exprs' slot
... arguments passed to man:
diag
If TRUE, the diagonal of the distance matrix will be displayed, default is FALSE
upper
If TRUE, the upper triangle of the distance matrix will be displayed, default is FALSE

Details

This is just an interface to dist with the right parameters set.

Value

An instance of the dist class with the pairwise Manhattan distances between the rows of x.

Author(s)

Beiying Ding

See Also

cor.dist, spearman.dist, tau.dist,euc, KLdist.matrix, KLD.matrix,mutualInfo

Examples

 x <- matrix(rnorm(200), nrow = 5)
 man(x)

[Package bioDist version 1.10.0 Index]