The function consensushc
computes the hierarchical
clustering of a consensus matrix, using the matrix itself
as a similarity matrix and average linkage. It is
consensushc(object, ...) S4 (matrix) `consensushc`(object, method = "average", dendrogram = TRUE) S4 (NMFfitX) `consensushc`(object, what = c("consensus", "fit"), ...)
NMFfitX
object, as
returned by multiple NMF runs.hclust
.hclust
object)
should be converted into a dendrogram. Default value is
TRUE
.an object of class dendrogram
or hclust
depending on the value of argument dendrogram
.
signature(object = "matrix")
:
Workhorse method for matrices.
signature(object = "NMF")
:
Compute the hierarchical clustering on the connectivity
matrix of object
.
signature(object = "NMFfitX")
:
Compute the hierarchical clustering on the consensus
matrix of object
, or on the connectivity matrix of
the best fit in object
.