KLD.matrix {bioDist} | 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 ExpressionSet; if x is an ExpressionSet, then the function works against its 'exprs' slot. |
... |
arguments passed to KLD.matrix :
locfit or density to estimate integrand; default is c("locfit", "density")(i.e. both methods). |
The pairwise distances between the rows of x
are computed.
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))