Description Usage Arguments Details Value Author(s) See Also
hClust_llr
returns an object of type hclust
,
results of the clustering on individuals, using the dissimilarity
based on log-likelihood ratio test.
1 | hClust_llr(X, ZI = TRUE, reorder = TRUE)
|
X |
matrix n x p with observations (i.e. individuals) in rows and variables in columns |
ZI |
boolean, indicating whether using zero-inflated Gaussian model (if TRUE) or just gaussian model (if FALSE), default is TRUE |
reorder |
boolean, indicating whether individuals should be reorder or not
(for heatmap aesthetic), if TRUE, use a re-implementation of |
Algorithm to process hierarchical clustering on individuals (from a matrix individuals x variables). The dissimilarity used in the observation space is the log-likelihood ratio, i.e. D(i,j) = log f(Y_i) + log f(Y_j) - log f(Y_i U Y_j) where Y_i is the vector of observations from individual i. The statistical model defining the considered likelihood is standard Gaussian or Zero-Inflated Gaussian (i.e. a Gaussian-Bernoulli mixture). The agglomeration method is also the log-likelihood ratio, however between clusters in this case.
Wrapper for Cpp function
an object of type hclust, see hclust
diss |
the n x n dissimilarity matrix between individuals |
|
(not included in |
height |
|
merge |
|
order |
|
labels |
vector of n individual labels |
Ghislain Durif, ghislain.durif@univ-lyon1.fr Franck Picard, franck.picard@univ-lyon1.fr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.