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 exprSet; if x is an exprSet, function workes against its 'exprs' slot |
... |
arguments passed to KLdist.matrix :
nbinnumber of bins to calculate discrete probabilities, default is 10
symmetrizeif TRUE, then symmetrize, default is FALSE
diagif TRUE, diagonal of the distance matrix will be displayed, default is FALSE
upperif 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.6.0
Index]