getClusteringDendrogram | R Documentation |
Get a clustering dendrogram using hierarchical clustering (wrapper)
getClusteringDendrogram(
X,
samplesOrdered = colnames(X),
distMethod = "cor",
linkMethod = "ward.D",
corMethod = "pearson"
)
X |
A matrix for which the sample clustering dendrogram should be computed. Samples correspond to columns and features correspond to rows.
Alternatively, |
samplesOrdered |
character vector specifying the preferred order of samples |
distMethod |
distance metric to be used for clusteing. must be either "cor" or a valid distance method for |
linkMethod |
linkage method (see |
corMethod |
method for computing correlation coefficients. Only relevant if |
clustering dendrogram (dendrogram
object)
Fabian Mueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.