KLD.matrix | R Documentation |
Calculate KLD by estimating by smoothing
\log(f(x)/g(x))*f(x)
and then integrating.
KLD.matrix(x, ...)
x |
n by p matrix or list or an object of a class that extends eSet; if x is an an object of a class that extends eSet (eg ExpressionSet), then the function works against its 'exprs' slot. |
... |
arguments passed to
|
The distance is computed between rows of the input matrix
(except if the input is an object of a class that extends eSet
and sample
is TRUE
.
The presumption is that all samples have the same number of observations. The list method is meant for use when samples sizes are unequal.
An object of class dist
with the pairwise, between rows,
Kullback-Leibler distances.
Beiying Ding, Vincent Carey
cor.dist
, spearman.dist
,
tau.dist
, dist
,
KLdist.matrix
, mutualInfo
x <- matrix(rnorm(100), nrow = 5)
KLD.matrix(x, method = "locfit", supp = range(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.