KLdist.matrix {bioDist}R Documentation

Discrete version of Kullback-Leibler Distance (KLD)

Description

Calculate KLD by binning

Usage

KLdist.matrix(x, ...)

Arguments

x n by p matrix or ExpressionSet; if x is an ExpressionSet, function works against its 'exprs' slot
... arguments passed to KLdist.matrix:
nbin
number of bins to calculate discrete probabilities, default is 10
symmetrize
if TRUE, then symmetrize, default is FALSE
diag
if TRUE, diagonal of the distance matrix will be displayed, default is FALSE
upper
if TRUE, upper triangle of the distance matrix will be displayed, default is FALSE

Details

Value

Pairwsie KLD object

Author(s)

Beiying Ding

See Also

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

Examples

 x <- matrix(rnorm(100), nrow=5)
 KLdist.matrix(x,symmetrize=TRUE, nbin=3) 

[Package bioDist version 1.10.0 Index]